Fix sun lightmaps with gl_texture 0

This commit is contained in:
nashmuhandes 2025-07-22 22:58:12 +08:00
commit 9fc4acf440

View file

@ -5,5 +5,6 @@ void SetupMaterial(inout Material material)
material.Base = uObjectColor;
#else
material.Base = desaturate(uObjectColor);
material.Normal = normalize(vWorldNormal.xyz);
#endif
}