fix incorrect vanilla AO value for LODs

This commit is contained in:
Xonk
2026-04-19 19:29:50 -04:00
parent 815fd7d7ee
commit da71f747f3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ void main() {
gl_FragData[1].a = 0.0;
vec4 specularData = vec4(0.0,0.0,0.0,0.0);
vec4 otherData = vec4(normals.xyz * 0.5 + 0.5,1.0);
vec4 otherData = vec4(normals.xyz * 0.5 + 0.5,0.0);
#if EMISSIVE_TYPE == 0
specularData.a = 0.0;
+1 -1
View File
@@ -106,7 +106,7 @@ void voxy_emitFragment(VoxyFragmentParameters parameters) {
#endif
vec4 specularData = vec4(0.0,0.0,subSurfaceScattering,0.0);
vec4 otherData = vec4(normal.xyz * 0.5 + 0.5,1.0);
vec4 otherData = vec4(normal.xyz * 0.5 + 0.5,0.0);
specularData = clamp(specularData,0.0,1.0);
otherData = clamp(otherData,0.0,1.0);