1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02: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;