diff options
author | PilzAdam <PilzAdam@gmx.de> | 2013-02-08 23:45:41 +0100 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-17 11:28:43 -0400 |
commit | c00c8832c6c8cf9a0089a486d026d829e82741a9 (patch) | |
tree | c163285e173566c1cc4c67c6e6fbf2d023ff9054 /client | |
parent | 5a9fd8f433e9d2a71266dd6b76174e84a5ebaa8f (diff) | |
download | minetest-c00c8832c6c8cf9a0089a486d026d829e82741a9.tar.gz minetest-c00c8832c6c8cf9a0089a486d026d829e82741a9.tar.bz2 minetest-c00c8832c6c8cf9a0089a486d026d829e82741a9.zip |
Fix new_style_water
Diffstat (limited to 'client')
-rw-r--r-- | client/shaders/test_shader_2/opengl_vertex.glsl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/shaders/test_shader_2/opengl_vertex.glsl b/client/shaders/test_shader_2/opengl_vertex.glsl index 80fd6d427..2881bad21 100644 --- a/client/shaders/test_shader_2/opengl_vertex.glsl +++ b/client/shaders/test_shader_2/opengl_vertex.glsl @@ -8,9 +8,7 @@ varying vec3 vPosition; void main(void)
{
- vec4 pos = gl_Vertex;
- pos.y -= 2.0;
- gl_Position = mWorldViewProj * pos;
+ gl_Position = mWorldViewProj * gl_Vertex;
vPosition = (mWorldViewProj * gl_Vertex).xyz;
|