summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 14:08:45 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-25 14:08:45 +0000
commit916fafa028b0bc8c8b0abec8c072722907d85f43 (patch)
tree14e61837722b9dd5404d0dfea9301d6e86615abe /gfx/gl/shadowMapper.h
parentSpread the trees out (diff)
downloadilt-916fafa028b0bc8c8b0abec8c072722907d85f43.tar.bz2
ilt-916fafa028b0bc8c8b0abec8c072722907d85f43.tar.xz
ilt-916fafa028b0bc8c8b0abec8c072722907d85f43.zip
Send position and rotation matrix to GPU separately in shadowmapper dynamic
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r--gfx/gl/shadowMapper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h
index d54734c..b53a7f1 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -44,6 +44,7 @@ public:
private:
RequiredUniformLocation viewProjectionLoc;
RequiredUniformLocation modelLoc;
+ RequiredUniformLocation modelPosLoc;
};
FixedPoint fixedPoint, dynamicPointInst;