1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix new_style_water

This commit is contained in:
PilzAdam 2013-02-08 23:45:41 +01:00 committed by kwolekr
parent 5a9fd8f433
commit c00c8832c6
2 changed files with 136 additions and 11 deletions

View file

@ -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;