Skip to content

Commit

Permalink
Fixes #6 copy filters ignores alpha channel.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaphore committed Sep 23, 2019
1 parent 6c9ea22 commit a27f074
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gdx-vfx/effects/assets/shaders/copy.frag
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ varying vec2 v_texCoords;
uniform sampler2D u_texture0;

void main() {
vec3 col = texture2D(u_texture0,v_texCoords).xyz;
gl_FragColor = vec4(col, 1.0);
gl_FragColor = texture2D(u_texture0,v_texCoords);
}

0 comments on commit a27f074

Please sign in to comment.