diff options
-rw-r--r-- | Wave.gdshader | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Wave.gdshader b/Wave.gdshader index ff04afd..9e4aff3 100644 --- a/Wave.gdshader +++ b/Wave.gdshader @@ -57,7 +57,6 @@ vec3 gerstner_wave(vec4 wave, vec2 wave_dir, vec3 pos, inout vec3 tangent, inout void vertex() { vec3 global_vertex = (WORLD_MATRIX * vec4(VERTEX,1.0)).xyz; - VERTEX = global_vertex; TANGENT = vec3(1.0,0.0,0.0); BINORMAL = vec3(0.0,0.0,1.0); VERTEX += gerstner_wave(wave1,wave1_dir,global_vertex,TANGENT,BINORMAL); |