Fix fade for GLES

This commit is contained in:
Emile Belanger 2021-10-24 12:47:31 +01:00 committed by Christoph Oelckers
parent 5ff8852d12
commit b79b1aad53

View file

@ -563,8 +563,6 @@ void main()
}
#endif
gl_FragColor = frag;
//gl_FragColor = vec4(0.8, 0.2, 0.5, 1);
gl_FragColor = vec4(frag.rgb * uDynLightColor.a, frag.a); // apply a global fade factor.
}