Jump to content


Photo

Things that could be improved


  • Please log in to reply
1929 replies to this topic

#1926 vorob

vorob

    Member

  • Member
  • PipPip
  • 87 posts

Posted 03 May 2017 - 03:31 AM

There are no magic "one-size-fits-all" tricks here. But you can design a map in such way. You need to use projection textures and non-shadow-casting lights to sort of "manually lightmap" your level, just like modern game engines would do. This requires a lot of work and design, but it can be done. And what is most important, the lightgem will react correctly, so you don't need any other special hacks to maintain that illusion.

 

Sounds like shadows should be drawn... But i'm talking about real time soft shadows. Like in modern games :)



#1927 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 559 posts

Posted 03 May 2017 - 03:44 AM

Actually dynamic lightning isn't much used in modern engines, maybe for moveable lights. Most lightning is static. Even stuff like flicker or pulsating is faked through materials, with textures and sine wave functions. At least that's how it works in Unreal Engines.

 

Faking lightmaps is hard, but you don't have to draw shadows manually. If you use modeling software, you could use it to design lightning of your map, and render it to textures, room by room. Then you can put them as projection textures in spot lights. I already tried it and it works, but that's tons of work.


Edited by Judith, 03 May 2017 - 03:45 AM.

  • Crinkelite likes this

#1928 vorob

vorob

    Member

  • Member
  • PipPip
  • 87 posts

Posted 03 May 2017 - 03:56 AM

Ye, its okay for games where light is just a decoration. But in darkmod/thief, from my point of view, everything should be in real time. So current state is perfect, just need to make shadows soft.

 

I think i saw a year ago darkmod with soft shadows. Just can't remember where... Maybe it was your wip screenshot? 


Edited by vorob, 03 May 2017 - 03:57 AM.


#1929 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 559 posts

Posted 03 May 2017 - 04:11 AM

IMO you have to make players believe that lightning is "realistic" or "real-time" – how you do it is another story ;) I did tests with soft shadows and similar technique for Thief 3, but it's much easier in TDM, because lightgem reacts correctly. I'd love to see what SteveL did with soft shadows cast by meshes and geometry, if that's what he did.



#1930 wesp5

wesp5

    Advanced Member

  • Member
  • PipPipPip
  • 511 posts

Posted 16 May 2017 - 06:11 AM

Okay, some of you here might remember the infamous discussion about making oil lamps exstinguishable like candles using the frob key. As the TDM 2.05 update broke the solution I had made for myself at the time, I recreated this feature thanks to the help of Destined and Obsttorte and decided to make a small addon for anyone who is interested in this. You can find the ModDB link below and it has the great side effect, that TDM is now officially listed as a game that can be linked to on the ModDB :)!

 

http://www.moddb.com...-oil-lamp-patch


Edited by wesp5, 16 May 2017 - 11:08 AM.

  • Springheel, nbohr1more and Anderson like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users