Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Simple Shadows
 
Author
All times are GMT. The time now is 01:53. Post New Thread    Post A Reply
traversd
Member


Posts: 412
Registered: 01-09


Hi All,

In posting this I'll possibly be shown a link or option that I've completely overlooked (and meant I needn't bother) but to the best of my knowledge shadows for actors (monsters) in ZDoom and it's variants don't exist. I did a search on the GZDoom (port I am using) and only found it mentioned as a feature suggestion that was closed due to difficulty with clipping sprites to flats.

Anyhow I had a look at the GLDEF's function and saw that it did subtractive lighting so I updated my doomdefs.txt to add a small subtractive dlight to each movement frame for all doom/doom2 enemies to simulate a simple "blob" shadow.

It's certainly not the most efficient way to go about it (as it does add a dlight for every enemy in the sector or adjacent sector you are in it seems) but it seems to do the job OK and, on my PC at least, run without giving it too much grief - I did a test with just over 300 monsters in view and it got choppy (by comparison the same area runs very smooth without the shadow definitions included).

Screenshots and a .zip with an updated lights.pk3 can be found here --> http://t.underworldgamers.com/?p=287

Kind regards,
Travers

Old Post 06-09-09 01:21 #
traversd is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
traversd
Member


Posts: 412
Registered: 01-09


Bah. I have just spotted in the other thread that prboom-plus has implemented them in the latest version. :)

Old Post 06-09-09 05:09 #
traversd is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 01:53. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Simple Shadows

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory