diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-23 21:46:21 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-26 00:07:19 +0100 |
commit | e751ab465bbbf1365ec6e108c64dafd03ce42f1d (patch) | |
tree | d0c6dc9cd16ea6cdedc89e575af7b012d935d4cb /gfx/gl/shadowMapper.h | |
parent | Handle rendering of RailVehicles through RailVehicleClass instancing (diff) | |
download | ilt-e751ab465bbbf1365ec6e108c64dafd03ce42f1d.tar.bz2 ilt-e751ab465bbbf1365ec6e108c64dafd03ce42f1d.tar.xz ilt-e751ab465bbbf1365ec6e108c64dafd03ce42f1d.zip |
Pop and complete instanced shadow support
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r-- | gfx/gl/shadowMapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h index a5c2c7b..36371eb 100644 --- a/gfx/gl/shadowMapper.h +++ b/gfx/gl/shadowMapper.h @@ -22,7 +22,7 @@ public: class FixedPoint : public Program { public: - FixedPoint(); + FixedPoint(const Shader & vs); void setViewProjection(const glm::mat4 &) const; void use() const; @@ -40,7 +40,7 @@ public: RequiredUniformLocation viewProjectionLoc; RequiredUniformLocation modelLoc; }; - FixedPoint fixedPoint; + FixedPoint fixedPoint, dynamicPointInst; DynamicPoint dynamicPoint; // NOLINTNEXTLINE(hicpp-explicit-conversions) |