summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-19 02:05:56 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-19 02:05:56 +0100
commit2c4198bc83b5007a3ba7c00f85e4e70fcb9f6177 (patch)
tree56a53ac708b93b9db35e8ac688f5670b4b09743b
parentExport mesh size and primitive type (diff)
downloadilt-2c4198bc83b5007a3ba7c00f85e4e70fcb9f6177.tar.bz2
ilt-2c4198bc83b5007a3ba7c00f85e4e70fcb9f6177.tar.xz
ilt-2c4198bc83b5007a3ba7c00f85e4e70fcb9f6177.zip
Fix type of basic instanced shader
It's now AbsolutePosProgram, which is kind of right, in that it takes no location data via uniform, it's all in the vertex data.
-rw-r--r--gfx/gl/sceneShader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h
index c135050..ead184e 100644
--- a/gfx/gl/sceneShader.h
+++ b/gfx/gl/sceneShader.h
@@ -81,9 +81,8 @@ public:
SceneShader();
BasicProgram basic;
- SceneProgram basicInst;
WaterProgram water;
- AbsolutePosProgram landmass, absolute;
+ AbsolutePosProgram basicInst, landmass, absolute;
PointLightShader pointLight;
SpotLightShader spotLight;