diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-27 18:36:45 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-27 18:36:45 +0100 |
commit | 6ed208747005774f3fbc90256b9da0c6890a0814 (patch) | |
tree | b10a7a2a23bdfad799fb108687108798561ed866 /gfx/gl/shaders/dynamicPointInst.vs | |
parent | Merge branch 'instancing-pt2' (diff) | |
download | ilt-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/dynamicPointInst.vs')
-rw-r--r-- | gfx/gl/shaders/dynamicPointInst.vs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shaders/dynamicPointInst.vs b/gfx/gl/shaders/dynamicPointInst.vs index e4c8526..2d6cee5 100644 --- a/gfx/gl/shaders/dynamicPointInst.vs +++ b/gfx/gl/shaders/dynamicPointInst.vs @@ -1,4 +1,5 @@ #version 330 core +#extension GL_ARB_shading_language_420pack : enable include(`meshIn.glsl') include(`materialInterface.glsl') |