[Can't fix] Sprite Shadows appear to 'float'

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Sprite Shadows appear to 'float'

Postby Bob Beaky » Mon Apr 18, 2022 9:29 am

I've added "castspriteshadow" to the powerups. For some reason the shadow appears but it isn't on the ground but is slightly above. I've attached a picture of a Soulsphere on a pedestal on map 02 of NRFTL so that it's easier to see.

I'm using the Vulkan renderer but it also happens with the other renderers. I have the latest release of GZDoom and I've also tried it on the latest DRD builds from the 17th and 18th April.

PS: It's hard to say for sure but it looks like all shadows hang above the ground including monsters.

Probably user error but thought I should share in case.
You do not have the required permissions to view the files attached to this post.
User avatar
Bob Beaky
 
Joined: 18 Mar 2022
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Sprite Shadows appear to 'float'

Postby Graf Zahl » Mon Apr 18, 2022 10:09 am

The shadows are somewhat faked and a few sprites done in a way that lets it really stand out. The floating powerups are the best examples for that.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Sprite Shadows appear to 'float'

Postby Bob Beaky » Mon Apr 18, 2022 2:22 pm

Ah, okay doke. Thanks for answering. At least it wasn't something I was doing wrong. :)
User avatar
Bob Beaky
 
Joined: 18 Mar 2022
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Sprite Shadows appear to 'float'

Postby Graf Zahl » Mon Apr 18, 2022 2:27 pm

The shadow algorithm is the same as the Build engine games use: It just renders the sprite at 1/4th height and completely black. There is no flat projection, but in many cases it will look ok. Just not here...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest