Browse Source

Remove ripple.vert

It's the same as main.vert
rexim 3 years ago
parent
commit
69fc2b3c18
2 changed files with 1 additions and 26 deletions
  1. 1 1
      render.conf
  2. 0 25
      shaders/ripple.vert

+ 1 - 1
render.conf

@@ -4,7 +4,7 @@ frag[SCENE] = shaders/main.frag
 vert[POST0] = shaders/quad.vert
 frag[POST0] = shaders/texture.frag
 
-vert[POST1] = shaders/ripple.vert
+vert[POST1] = shaders/main.vert
 frag[POST1] = shaders/ripple.frag
 
 texture = assets/tsodinW-345.png

+ 0 - 25
shaders/ripple.vert

@@ -1,25 +0,0 @@
-#version 330
-
-layout(location = 0) in vec2 ver_pos;
-layout(location = 1) in vec2 ver_uv;
-layout(location = 2) in vec4 ver_color;
-
-uniform vec2 resolution;
-
-precision mediump float;
-
-out vec2 uv;
-out vec4 color;
-
-vec2 screen_project(vec2 pos)
-{
-    return (pos / resolution) * 2.0 - 1.0;
-}
-
-void main(void)
-{
-    float scale = 300.0;
-    gl_Position = vec4(screen_project(ver_pos + resolution * 0.5), 0.0, 1.0);
-    uv = ver_pos / resolution + 0.5;
-    color = ver_color;
-}