We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff73aa4 commit 92cde02Copy full SHA for 92cde02
assets/shaders/dim.frag
@@ -6,5 +6,5 @@ varying vec2 v_texCoords;
6
7
void main() {
8
float a = texture2D(u_texture, v_texCoords).a;
9
- gl_FragColor = vec4(0, 0, 0, 1 * u_alpha * (1.0 - a));
+ gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0 * u_alpha * (1.0 - a));
10
}
0 commit comments