just switch B and R and should be fine

This commit is contained in:
cola98765
2021-12-09 13:31:56 +01:00
parent d5ed9a22fa
commit 4e652c7573
+1 -1
View File
@@ -31,7 +31,7 @@ void main()
// vertexColor = vec4(color.xyz * worldSkyLight / 16.0, color.w);
float blockLightTex = blockLight / 16.0;
float skyLightTex = worldSkyLight / 16.0;
float skyLightTex = blockSkyLight / 16.0;
// we don't really need alpha in the lightmap
// vertexColor = color * vec4(texture(lightMap, vec2(blockLightTex, skyLightTex)).xyz, 1);