From a27f07424f00225f89798d63bec5cc014ae974d9 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Mon, 23 Sep 2019 22:05:28 +1000 Subject: [PATCH 1/2] Fixes #6 copy filters ignores alpha channel. --- gdx-vfx/effects/assets/shaders/copy.frag | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 From 442b46b60be82e640509181966b21fabb1b05373 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Mon, 23 Sep 2019 22:08:32 +1000 Subject: [PATCH 2/2] Preparations for 4.2.0 release. --- gdx-vfx/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' : ''}" }