diff --git a/shaders/shader-texture.fs b/shaders/shader-texture.fs index cd854e3..9794267 100644 --- a/shaders/shader-texture.fs +++ b/shaders/shader-texture.fs @@ -23,6 +23,7 @@ void main(){ // Load the texture // anti-gamma-correction of the texture. Without this it would be gamma corrected twice! vec3 vColor = pow(texture(textureArray, TexCoord).rgb, vec3(gamma)); + if(TexCoord.z == 4) vColor = vColor * normalize(vec3(10, 250, 10)); vec3 normal = normalize(Normal);