summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/fixedPoint.vs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-27 18:36:45 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-27 18:36:45 +0100
commit6ed208747005774f3fbc90256b9da0c6890a0814 (patch)
treeb10a7a2a23bdfad799fb108687108798561ed866 /gfx/gl/shaders/fixedPoint.vs
parentMerge branch 'instancing-pt2' (diff)
downloadilt-6ed208747005774f3fbc90256b9da0c6890a0814.tar.bz2
ilt-6ed208747005774f3fbc90256b9da0c6890a0814.tar.xz
ilt-6ed208747005774f3fbc90256b9da0c6890a0814.zip
Lookup material details once in the vertex shader
... instead of per texel in the fragment shader
Diffstat (limited to 'gfx/gl/shaders/fixedPoint.vs')
-rw-r--r--gfx/gl/shaders/fixedPoint.vs1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shaders/fixedPoint.vs b/gfx/gl/shaders/fixedPoint.vs
index 6f517ca..ed78c96 100644
--- a/gfx/gl/shaders/fixedPoint.vs
+++ b/gfx/gl/shaders/fixedPoint.vs
@@ -1,4 +1,5 @@
#version 330 core
+#extension GL_ARB_shading_language_420pack : enable
include(`meshIn.glsl')
include(`materialInterface.glsl')