Sprite-based decals have dark grey edges with AO enabled

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Enjay
 
 
Posts: 26516
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Sprite-based decals have dark grey edges with AO enabled

Post by Enjay »

Summary 0000607
Sprite-based decals have dark grey edges with Ambient Occlusion enabled

Description
Pictures and description posted in this thread: viewtopic.php?f=50&t=56039

Decals that use sprite graphics have a dark grey edge to them. This appeared some time between GZDoom 2.2.0 and 2.3.2.

Steps To Reproduce
Fire the plasma gun at a wall and look at the decals. Some mods can be used for even more obvious examples. e.g. my Burghead mod.

See the linked ZDoom thread for pictures: viewtopic.php?f=50&t=56039
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 0000607: Sprite-based decals have dark grey edges with A

Post by Graf Zahl »

I can only reproduce it if I change the decal's properties to render with normal translucency. My guess would be that you somehow got a bad replacement loaded. With the stock definition all is correct for me.
User avatar
Enjay
 
 
Posts: 26516
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: 0000607: Sprite-based decals have dark grey edges with A

Post by Enjay »

Nope, not a bad replacement. I've done tests with completely clean installs and nothing loaded other than gzdoom.pk3 and still got the problem.

However, I now know what causes it: Ambient Occlusion. With ambient occlusion at any setting other than "Off" the decals appear like the ones I posted pictures of.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 0000607: Sprite-based decals have dark grey edges with A

Post by Graf Zahl »

Ok, then it's something for dpJudas to check.
Post Reply

Return to “OpenGL Renderer Bugs”