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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 1 reply
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...