Cool! However, it has never been easier to see a Spectre in the dark.Sprite shadows like in the Build engine. Both in software and hardware renderer.
GZDoom 4.6.0 released
Moderator: GZDoom Developers
-
- Posts: 678
- Joined: Mon Jan 16, 2006 8:53 pm
- Location: Rio de Janeiro - Brazil
Re: GZDoom 4.6.0 released
-
- Lead GZDoom+Raze Developer
- Posts: 49204
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 4.6.0 released
Yeah, it should probably be disabled for certain render styles.
-
-
- Posts: 17937
- Joined: Fri Jul 06, 2007 3:22 pm
Re: GZDoom 4.6.0 released
Probably only enabled for opaque style, in fact.
-
- Lead GZDoom+Raze Developer
- Posts: 49204
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: GZDoom 4.6.0 released
For regular translucency it should be adapted to the alpha, e.g. if a monster is 50% translucent, the shadow should be 25%, for example.
-
-
- Posts: 17478
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: GZDoom 4.6.0 released
Will do some follow-up PRs for the sprite shadows based on the feedback so far, very soon.
-
- Posts: 678
- Joined: Mon Jan 16, 2006 8:53 pm
- Location: Rio de Janeiro - Brazil
Re: GZDoom 4.6.0 released
Just to clarify my doubt and possible concern. Shadow sprites is loads into memory once but renders twice, right?Graf Zahl wrote:Yeah, it should probably be disabled for certain render styles.
What about monsters made of pure shadow that don't need shadow, because "shadow" doesn't make shadow?
Could this overload performance in any way?
Spoiler:
-
- Posts: 13884
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: GZDoom 4.6.0 released
What you linked in picture, those are not the kind of shadows.Logan MTM wrote:Just to clarify my doubt and possible concern. Shadow sprites is loads into memory once but renders twice, right?Graf Zahl wrote:Yeah, it should probably be disabled for certain render styles.
What about monsters made of pure shadow that don't need shadow, because "shadow" doesn't make shadow?
Could this overload performance in any way?
Performance on rendering these shadows should be fairly light, unless A) your machine has trouble rendering sprites to begin with (in which case, you probably won't run GZDoom at all with a machine like that), or B) there's too many of them on the screen, and then that gets doubled to twice as too many.
To answer your question about memory usage - you are right - only loads once in RAM, twice on screen. The shadows and the sprite itself use the same exact pixel data, just one uses a different rendering style.
-
-
- Posts: 17478
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: GZDoom 4.6.0 released
You can add +NOSPRITESHADOW to the actor to force it to never render sprite shadows.Logan MTM wrote:What about monsters made of pure shadow that don't need shadow, because "shadow" doesn't make shadow?
-
- Posts: 678
- Joined: Mon Jan 16, 2006 8:53 pm
- Location: Rio de Janeiro - Brazil
Re: GZDoom 4.6.0 released
AWESOME!!! 

-
- Posts: 4
- Joined: Thu Mar 04, 2021 7:27 pm
- Graphics Processor: Intel (Modern GZDoom)
- Location: What is wrong with you im here
-
- Posts: 4
- Joined: Thu Mar 04, 2021 7:27 pm
- Graphics Processor: Intel (Modern GZDoom)
- Location: What is wrong with you im here
Re: GZDoom 4.6.0 released
I wanted You did these things on LzDoom but well we need to see and wait 

-
- Posts: 86
- Joined: Mon Aug 26, 2019 9:18 pm
- Graphics Processor: nVidia with Vulkan support
Re: GZDoom 4.6.0 released
AFAIK LZDoom mostly just merges changes made to GZDoom into itself, plus sprite shadows can apperantly even be implemented to Zandronum*, and Zandronum is based on 2014 GZDoom. So LZDoom will definitely have this whenever drfrag releases 3.88, and it will mostly likely work just fine on really old OpenGL 2.1 hardware too.luisgph wrote:I wanted You did these things on LzDoom but well we need to see and wait
*I know that's possible because Nash has already joined the Zandronum Discord server to ask the developers where he can contibute to Zandro's repository to add sprite shadows to it too, since it's apparently a relatively simple rendering effect of drawing the same sprite again, but squashed and with a shadowy rendering effect.