Skip to content

Commit

Permalink
fix: pass alpha through default fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Jun 21, 2021
1 parent f33bab6 commit d6db232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebGLazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ uniform vec2 resolution;
void main() {
vec2 coord = gl_FragCoord.xy;
vec2 uv = coord.xy / resolution.xy;
gl_FragColor = vec4(texture2D(tex0, uv).rgb, 1.0);
gl_FragColor = texture2D(tex0, uv);
}`;

/**
Expand Down

0 comments on commit d6db232

Please sign in to comment.