Skybox effects broken with latest Raze backend merge

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
Nash
 
 
Posts: 17450
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Skybox effects broken with latest Raze backend merge

Post by Nash »

With GZDoom 4.10:

- Cloud texture is scrolled by the shader
- There's a fog effect that hides the skybox's seam

With gc8fe07404

- Cloud no longer scrolls
- Fog is missing

Started happening after this Raze backend update: https://github.com/ZDoom/gzdoom/commit/ ... 2b5657aeb3
You do not have the required permissions to view the files attached to this post.
User avatar
Nash
 
 
Posts: 17450
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Skybox effects broken with latest Raze backend merge

Post by Nash »

As a continuation from what was discovered on Discord,

I can confirm that

- this only happens with a diffuse-only material shader
- therefore, adding a flat/non-transformative normal and specular map DOES successfully apply the custom material shader, AND also "fixes" the fog not being applied to the texture.

Code: Select all

Material Texture "textures/sky_back.png"
{
	Shader "shaders/Materials/Sky.fp"
	Speed 0.2

	Normal "materials/FlatNormalMap.png"
	Specular "materials/NoSpecularMap.png"
}

Material Texture "textures/sky_front.png"
{
	Shader "shaders/Materials/Sky.fp"
	
	Normal "materials/FlatNormalMap.png"
	Specular "materials/NoSpecularMap.png"
}
User avatar
Nash
 
 
Posts: 17450
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Skybox effects broken with latest Raze backend merge

Post by Nash »

Did some more testing, and it's just not my own projects that are broken from this. All of Tormentor667's remaster projects are also broken because they make extensive use of user shaders.

Generally, any mod that assigns a shader to a texture/sprite/whatever that only has a diffuse layer, will have its visuals broken.
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia

Re: Skybox effects broken with latest Raze backend merge

Post by Marisa the Magician »

Should be fixed now.

Return to “Closed Bugs [GZDoom]”