Jump to content
The Dark Mod Forums

So, what are you working on right now?


Springheel

Recommended Posts

  • 2 weeks later...
2 hours ago, peter_spy said:

Lately, I've been researching mirrors and real-time reflections, as in most missions I've seen them super clear and 100% reflective. It turns out there are better ways to do it.

I wouldn't recommend real-time reflections in general, as there are quite numerous limitations on their use, and they're quite resource-heavy. But there are ways to make them look good. I'll go with the cubemap version, if the model ends up in my FM.

Very cool!

A simple way to offer both options is to use lod_bias :

https://wiki.thedarkmod.com/index.php?title=LOD_Bias

Object Detail Low = Static specular, Object Detail Medium = Cubemap, Object Detail High = Real

Or you can use the cubemap version for a far away LOD etc.

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

Yeah, I could use LODs, although the whole subject is more complicated than it looks...

First off, realtime reflections need planar surfaces, you can't do them on convex or concave shapes. In order to circumvent that, I made the RT version with two materials, one for the glass, one for the frame. Also, there's an engine limitation where you can't have more than one RT reflection surface in view. If there are more, they get disabled. This is probably a good thing though, I can imagine all hell breaking loose if there was no limit to these surfaces...

[Edit] Secondly, for the sake of aesthetics, I made the player model invisible. This is a subjective thing, but I find it distracting and immersion-breaking. It's a WIP model I guess, floating with barely any animations. Your can't make him invisible for FM purposes though, as it uses several body parts from other AIs: elite city watch pants, generic npc hands, thief tunic, etc. I can't make these materials invisible, since all other characters will have these parts invisible too.

[Edit] So in the end, a cubemap is a better way to go overall; it's more performance-friendly, has none of the limitations of an RT reflection and it's much easier to work with, especially now, since you can generate cubemaps in-game without changing the resolution.

Edited by peter_spy
Link to comment
Share on other sites

  • 2 weeks later...
On 1/13/2021 at 6:16 PM, Jedi_Wannabe said:

Hard to follow up some of the recent screens people have been posting, but here's a little something for my beta testers to reassure them I've not forgotten about them!

Part of a new area, really going for a natural feel with some pagan vibes, might be hard to notice but I've got some of @STRUNK's new bats flying around and they cast a great shadow in the moonlight as they pass by the cave opening (it's in the screen but looks way better in person!) Ignore the fps counter; I've got a misbehaving VP in the area.

 

PtB0_2021-01-13_12.06.28.jpg

@Jedi_WannabeFracking cool! Please, please, send me the latest version; I want to see how you did that!

Jack

  • Like 3
Link to comment
Share on other sites

Cobalt blue, uranium green, and amber glassware sets would be really cool to see. I think Victorian style glassware might fit our world.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Link to comment
Share on other sites

13 hours ago, peter_spy said:

...

Also, I had no idea you can actually get translucent materials to cast shadows :D

On normal idtech 4 you can't, so TDM team changed that, if that is maps, have you tried stencil shadows?

Btw your work looks very nice, you have talent for that stuff.  

About having perfect transparency sorting, afaik there's nothing you can do, unless Order-independent transparency is included or even ray tracing and you know how probable that is. 

Link to comment
Share on other sites

Thanks! I've been exploring shaders and art pipeline for quite some time now; it's always been the most fun thing to me. I'm really surprised how much you can do with this engine.

Huh, this method it actually works with stencil shadows, and not with shadow maps... Interesting.

1 hour ago, HMart said:

About having perfect transparency sorting, afaik there's nothing you can do, unless Order-independent transparency is included or even ray tracing and you know how probable that is. 

Yeah, but it's no big deal. Let's just pretend these are some weird magic crystals ;)

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 1 reply
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...