fix incorrect write for vanillaAO mask from opaque particles

This commit is contained in:
Xonk
2026-04-27 17:49:36 -04:00
parent 0d48d1d4f0
commit 6ab277bc08
+1 -1
View File
@@ -311,7 +311,7 @@ float luma(vec3 color) {
); );
vec4 specularData = vec4(0.0,0.0,0.0,0.0); vec4 specularData = vec4(0.0,0.0,0.0,0.0);
vec4 otherData = clamp(vec4(normal*0.5+0.5, 1.0),0.0,1.0); vec4 otherData = clamp(vec4(normal*0.5+0.5, 0.0),0.0,1.0);
SPECULAR_DATA.xyzw = vec4( SPECULAR_DATA.xyzw = vec4(
encodeVec2(specularData.x, otherData.x), encodeVec2(specularData.x, otherData.x),