Page 7 of 13

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Wed Oct 04, 2017 5:46 am
by Rachael
There's nothing that can be done about that, really. There's a ton of actor processing that goes into the monsters, themselves, on slaughter maps, and adding shadows right on top of that is going to cause issues. I don't know what makes such maps appealing to anyone, but all I can suggest is: either get a beefier CPU, or just don't play them with cosmetic addons.

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Sun Nov 05, 2017 2:56 pm
by Armaetus
Sorry for this month old bump but after a quick test of this with my mod, this is a fantastic and mandatory addon to use for my future videos!

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Mon Jan 01, 2018 2:57 pm
by Party Boy
Hi...

I think I'm having problems with this mod, It doesn't look like in the screenshots, looks like the light source is almost over the sprite...



I use the GZDoom last build but I tested it with the 3.2.4 stable release and it does the same thing...

What can I do to fix this?..

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Mon Jan 01, 2018 3:54 pm
by Armaetus
Are you talking about the player's hand? That's certainly not the mod, that's because you have Bloom on (check OpenGL settings)

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Tue Jan 02, 2018 7:42 am
by Party Boy
No, I'm talking about the shadow of that Shotgun Guy...

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Wed Jan 03, 2018 9:08 am
by Caligari87
Yeah, that's the way it's supposed to look. These are fake shadows; there's no real way to calculate actual shadows (yet). This is just a nice little bit of eye candy (and it's actually very close to the way Duke Nukem 3D did it).

8-)

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Wed Jan 10, 2018 5:03 pm
by Naniyue
I LOVE IT!!!!!!! Doesn't take up much processing power either. Now, if someone could do this for System Shock 2 . . .

Re: SpriteShadow - Duke3D-style Shadows v1.5

PostPosted: Thu Jan 25, 2018 1:07 pm
by Nash
Someone64 wrote:Image

How to reproduce 100% consistently (using latest stable GZDoom or QZDoom): Put down the Beef Supreme turret from the latest Russian Overkill, collect the turret to get it back, instant error.


Fixed this bug. New version 1.6 is out now.

Re: SpriteShadow - Duke3D-style Shadows v1.6

PostPosted: Wed Jan 31, 2018 6:29 pm
by RikohZX
Amusingly a side effect of the drawing method seems to be that these draw the shadows of 3D models too. Was playing with the Chibi Voxels when I noticed the monsters still had shadows beneath them, and (mostly) flat ones that actually look straight out of the late 90's.
Spoiler:

Re: SpriteShadow - Duke3D-style Shadows v1.6

PostPosted: Sat Jul 07, 2018 9:07 pm
by AlpacaNox
Any way to blacklist selected actors? Removing ISMONSTER flag seems like a weird way to do that, especially if someone'd ever consider using the mod to add shadows to static actors. Theoretically it would've been great to have a text file which would allow to add/remove shadows from the selected actors, why not?

Re: SpriteShadow - Duke3D-style Shadows v1.6

PostPosted: Sat Jul 07, 2018 9:35 pm
by Nash
AlpacaNox: Cool idea. I think I can come up with something. How about a custom lump, that simply lists Actor classes to exclude from shadowing? Is this an acceptable way of customization? This custom lump would have to be loaded along with SpriteShadow.

Re: SpriteShadow - Duke3D-style Shadows v1.6

PostPosted: Thu Jul 12, 2018 10:32 am
by ramon.dexter
Nash wrote:AlpacaNox: Cool idea. I think I can come up with something. How about a custom lump, that simply lists Actor classes to exclude from shadowing? Is this an acceptable way of customization? This custom lump would have to be loaded along with SpriteShadow.


Yup, that sound like an easiest way of doing this, without modification of already created actors/classes. :thumb:

Re: SpriteShadow - Duke3D-style Shadows v1.6

PostPosted: Thu Jul 12, 2018 11:35 am
by Caligari87
I'd love to have an option to shadow decorations and pickups in addition to monsters. Can't remember, does this mod shadow projectiles? If not, that'd be cool too, for rockets and such.

8-)

Re: SpriteShadow: Duke3D-like Shadows v1.7a [performance upd

PostPosted: Wed Dec 19, 2018 6:58 am
by Nash
I have an experimental performance update just released, v1.7a. Let me know how much (if at all) it improves things. Go to first post for download link.




Think time measurement with HolyHell.wad, MAP05 (20,000 monsters). Lower number = better (obviously):

Before: 28.93 ms
After: 14.28 ms

Re: SpriteShadow: Duke3D-like Shadows v1.7a [performance upd

PostPosted: Wed Dec 19, 2018 8:14 am
by m8f
Results: with VSync off, difference is ~15 FPS (130 for 1.7a vs 115 for 1.6). Looks like a pretty solid performance improvement, good job!

While this mod is updated, it may be good to add NOTONAUTOMAP flag to Z_SpriteShadow class. PowerScanner is rarely used, but if it is, shadows probably shouldn't be displayed on automap.