Wall decals in GZDoom

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.
User avatar
Ihavequestions
Posts: 118
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Wall decals in GZDoom

Post by Ihavequestions »

A picture can say more than a thousand words... and now they come in pairs. This is using an Intel UHD Graphics 600 iGPU with a current driver on Windows 10 64-bit.
You do not have the required permissions to view the files attached to this post.
User avatar
Ihavequestions
Posts: 118
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: Wall decals in GZDoom

Post by Ihavequestions »

This also affects bullet and blood decals. Weird stuff.
You do not have the required permissions to view the files attached to this post.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: Wall decals in GZDoom

Post by drfrag »

Reverting the change to poly_renderstate.cpp in https://github.com/coelckers/gzdoom/com ... 1e45e0d0fd seems to fix the problem.
I'm not sure but i've done a PR: https://github.com/coelckers/gzdoom/pull/1527
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47995
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall decals in GZDoom

Post by Graf Zahl »

That "fix" would break other things.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3110
Joined: Fri Apr 23, 2004 3:51 am
Discord: drfrag#3555
Github ID: drfrag666
Location: Spain

Re: Wall decals in GZDoom

Post by drfrag »

I said i was not sure. Can you elaborate?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47995
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall decals in GZDoom

Post by Graf Zahl »

Yes, sure. The constants were changed for a reason because they affect the shaders. The real fix needs to fix Softpoly's data to do the same.
stevet1
Posts: 27
Joined: Thu Jan 28, 2021 5:30 am

Re: Wall decals in GZDoom

Post by stevet1 »

Just to bump this, I was using gzdoom 4.5.0 and this issue didn't present until I moved on to 4.7.1 to solve an issue with line portals and line mirrors and sloping 3d sectors,
Only happens when the Render Mode is "Hardware Accelerated", in the other 2 modes the wall sprites display fine however I then get issues with the 3d sloping sectors.
I appreciate that advice would be to use OpenGL or OpenGL ES for the Rendering API but I've 2 machines that we use as a family that won't run that unfortunately.
Any help appreciated.
User avatar
Ihavequestions
Posts: 118
Joined: Mon Jul 12, 2021 1:45 pm
Graphics Processor: nVidia with Vulkan support

Re: Wall decals in GZDoom

Post by Ihavequestions »

It wasn't mentioned in the update details, but this has been fixed in 4.8.x.
Softpoly rendering looks good now. Many thanks.

Return to “Closed Bugs”