Fusee
Fusee copied to clipboard
SurfaceShader: fragment shader wrongly takes texture luminance into account even when AlbedoMix is 0
Fix in FragShards.cs:
vec3 mix = IN.AlbedoMix == 0.0 ? resColor.rgb : mix(resColor.rgb * linearLuminance, texCol.xyz, IN.AlbedoMix);