diff --git a/gdx-vfx/build.gradle b/gdx-vfx/build.gradle index 9a1b03f..4314496 100644 --- a/gdx-vfx/build.gradle +++ b/gdx-vfx/build.gradle @@ -24,8 +24,8 @@ subprojects { [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' ext { - projectVersion = '0.5.0' - snapshotVersion = true + projectVersion = '0.4.2' + snapshotVersion = false libVersion = "$projectVersion${snapshotVersion ? '-SNAPSHOT' : ''}" } diff --git a/gdx-vfx/effects/assets/shaders/copy.frag b/gdx-vfx/effects/assets/shaders/copy.frag index d6ee115..185248a 100644 --- a/gdx-vfx/effects/assets/shaders/copy.frag +++ b/gdx-vfx/effects/assets/shaders/copy.frag @@ -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); } \ No newline at end of file