diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-13 02:15:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-13 02:15:41 +0100 |
commit | f16a7df6135262c91fee2a2f6c46ad2f3caa7157 (patch) | |
tree | 29b5c52e1609d8df8a89a70f98503ae51fccf4e0 /gfx/gl/shaders/landmassShader.vs | |
parent | Add material field to vertex and configure it in mesh (diff) | |
download | ilt-f16a7df6135262c91fee2a2f6c46ad2f3caa7157.tar.bz2 ilt-f16a7df6135262c91fee2a2f6c46ad2f3caa7157.tar.xz ilt-f16a7df6135262c91fee2a2f6c46ad2f3caa7157.zip |
Update shaders to use material to conditionally lookup sub-texture in the atlas
Diffstat (limited to 'gfx/gl/shaders/landmassShader.vs')
-rw-r--r-- | gfx/gl/shaders/landmassShader.vs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shaders/landmassShader.vs b/gfx/gl/shaders/landmassShader.vs index cabe39f..0cc8153 100644 --- a/gfx/gl/shaders/landmassShader.vs +++ b/gfx/gl/shaders/landmassShader.vs @@ -12,6 +12,7 @@ main() TexCoords = texCoord; Normal = normal; Colour = colour; + Material = material; gl_Position = viewProjection * vec4(position, 1.0); } |