Sprite-based decals have dark grey edges with AO enabled

Moderator: 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.

Sprite-based decals have dark grey edges with AO enabled

Postby Enjay » Sun Apr 30, 2017 7:34 pm

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
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

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

Postby Graf Zahl » Sun Apr 30, 2017 7:34 pm

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
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby Enjay » Sun Apr 30, 2017 7:34 pm

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
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

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

Postby Graf Zahl » Sun Apr 30, 2017 7:35 pm

Ok, then it's something for dpJudas to check.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to OpenGL Renderer Bugs

Who is online

Users browsing this forum: No registered users and 1 guest