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:
parent
5a9fd8f433
commit
c00c8832c6
2 changed files with 136 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue