Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldRenderData.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-20 01:53:34 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-20 01:53:34 +1100
commit6d76a11e256cd96c9cdd7ae5a10c0276e6347277 (patch)
treed52459889408115d1e0eb657a05dc58e098e50eb /source/game/StarWorldRenderData.hpp
parent58a346e563df12af9194c198c7ffe974411abb28 (diff)
experiment: unclamped lighting
Diffstat (limited to 'source/game/StarWorldRenderData.hpp')
-rw-r--r--source/game/StarWorldRenderData.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/game/StarWorldRenderData.hpp b/source/game/StarWorldRenderData.hpp
index b392615..0030a10 100644
--- a/source/game/StarWorldRenderData.hpp
+++ b/source/game/StarWorldRenderData.hpp
@@ -9,6 +9,7 @@
#include "StarWeatherTypes.hpp"
#include "StarEntity.hpp"
#include "StarThread.hpp"
+#include "StarCellularLighting.hpp"
namespace Star {
@@ -17,6 +18,7 @@ struct EntityDrawables {
Map<EntityRenderLayer, List<Drawable>> layers;
};
+
struct WorldRenderData {
void clear();
@@ -25,7 +27,7 @@ struct WorldRenderData {
Vec2I tileMinPosition;
RenderTileArray tiles;
Vec2I lightMinPosition;
- Image lightMap;
+ Lightmap lightMap;
List<EntityDrawables> entityDrawables;
List<Particle> const* particles;