X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fwater.vs;fp=shaders%2Fwater.vs;h=0000000000000000000000000000000000000000;hb=aa4c26eae2208872824e0eb5b71bc05c16d43242;hp=6fbee776615a0dae1f21d03f355d4ca4bba80bcd;hpb=3e8fda9c7cbc50d1ae95195905c953bdeedf71b9;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/water.vs b/shaders/water.vs deleted file mode 100644 index 6fbee77..0000000 --- a/shaders/water.vs +++ /dev/null @@ -1,16 +0,0 @@ -#include "vertex_standard.glsl" - -uniform mat4 uPv; -uniform mat4x3 uMdl; - -out vec4 aUv; -out vec3 aCo; - -void main() -{ - vec3 world_pos = uMdl * vec4( a_co, 1.0 ); - gl_Position = uPv * vec4(world_pos,1.0); - - aUv = vec4(world_pos.xz*0.005,depth_coords); - aCo = world_pos; -}