Skip to content

Commit 92cde02

Browse files
committed
Deal with that before I forget
1 parent ff73aa4 commit 92cde02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/shaders/dim.frag

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ varying vec2 v_texCoords;
66

77
void main() {
88
float a = texture2D(u_texture, v_texCoords).a;
9-
gl_FragColor = vec4(0, 0, 0, 1 * u_alpha * (1.0 - a));
9+
gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0 * u_alpha * (1.0 - a));
1010
}

0 commit comments

Comments
 (0)