Jump to content
The Dark Mod Forums

TDM Engine Wishlist


RPGista

Recommended Posts

2.07 has shadow maps but do we have a single transparent shadow casting entity to make use of it?

 

Imo you have plenty, they just don't cast shadows now or they are faked with projectors. Any texture with alpha will be a potential "transparent" shadow casting entity, for example trees canopies will be able to cast shadows on the floor, small bushes/plants has well, a grate texture in a flat plane will be able to cast shadows now with no need to use fake projectors or real geometry, etc.

Edited by HMart
Link to comment
Share on other sites

 

Imo you have plenty, they just don't cast shadows now or they are faked with projectors. Any texture with alpha will be a potential "transparent" shadow casting entity, for example trees canopies will be able to cast shadows on the floor, small bushes/plants has well, a grate texture in a flat plane will be able to cast shadows now with no need to use fake projectors or real geometry, etc.

Potentially yes, but currently?

Link to comment
Share on other sites

Potentially yes, but currently?

 

Currently, using stencil shadows the only way for textures with transparent parts (alpha), to "cast" shadows, is to use shadow/light projectors, for that you need to create a extra texture that is meant to simulate the shadow that will be, projected, that is how those small rotating fans are made in Doom 3 for example, with shadow maps, you remove this extra steep, the shadow is automatically created for you, for everything.

 

Here is a example in fhdoom:

 

with stencil shadows

 

https://github.com/eXistence/fhDOOM/blob/master/doc/screenshots/shadowmapping1_off.jpg?raw=true

 

With shadow maps

 

https://github.com/eXistence/fhDOOM/blob/master/doc/screenshots/shadowmapping1_on.jpg?raw=true

Edited by HMart
  • Like 1
Link to comment
Share on other sites

When I wrote my color grading shader the reference material I was using called for using 3D textures. I found code in TDM's source to support loading such images but no corresponding material keyword to invoke it. Having that keyword would have saved me a ton of time.

Would be fantastic to have your color grading program absorbed into the game somehow, and be something the player can choose in the settings to add flavour to their game (and mappers would be able to choose different ones as defaults for their missions).

 

In case someone didnt get to see the thread:

 

http://forums.thedarkmod.com/topic/18972-color-grading-shader/?do=findComment&comment=408635

Link to comment
Share on other sites

One thing that is probably being worked on already: the use of gradient textures, in both surface and light materials. Right now looks like as if TDM uses 16-bit images instead of 32-bit, and the usual methods of masking texture banding (like using noise) simply don't work.

Link to comment
Share on other sites

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.
      · 0 replies
    • 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...