summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/landmassShader.vs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/landmassShader.vs')
-rw-r--r--gfx/gl/shaders/landmassShader.vs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shaders/landmassShader.vs b/gfx/gl/shaders/landmassShader.vs
index 44eed39..94d819d 100644
--- a/gfx/gl/shaders/landmassShader.vs
+++ b/gfx/gl/shaders/landmassShader.vs
@@ -15,5 +15,5 @@ void main()
gl_Position = viewProjection * vec4(position, 1.0);
texCoord0 = texCoord;
normal0 = normal;
- height = position.y;
+ height = position.z;
}