diff --git a/src/common/rendering/hwrenderer/data/hw_lightprobe.h b/src/common/rendering/hwrenderer/data/hw_lightprobe.h new file mode 100644 index 000000000..201d8691b --- /dev/null +++ b/src/common/rendering/hwrenderer/data/hw_lightprobe.h @@ -0,0 +1,9 @@ +#pragma once + +#include "vectors.h" + +struct LightProbe +{ + FVector3 position; + int index = 0; +}; diff --git a/src/g_levellocals.h b/src/g_levellocals.h index 4afc0a014..dbfd87075 100644 --- a/src/g_levellocals.h +++ b/src/g_levellocals.h @@ -58,6 +58,8 @@ #include "doom_levelmesh.h" #include "p_visualthinker.h" +#include "common/rendering/hwrenderer/data/hw_lightprobe.h" + //============================================================================ // // This is used to mark processed portals for some collection functions. @@ -491,6 +493,7 @@ public: EventManager *localEventManager = nullptr; DoomLevelAABBTree* aabbTree = nullptr; DoomLevelMesh* levelMesh = nullptr; + TArray lightProbes; // [ZZ] Destructible geometry information TMap healthGroups;