mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
WIP of shifting the skylight cubemap to be packed into the cubemap array
This commit is contained in:
parent
27b304eec3
commit
b40d33a663
4 changed files with 63 additions and 90 deletions
|
|
@ -199,13 +199,9 @@ class RenderProbeMgr : public RenderBinManager
|
|||
Vector<Point4F> probeBBMinData;
|
||||
Vector<Point4F> probeBBMaxData;
|
||||
Vector<Point4F> probeConfigData;
|
||||
Vector<GFXCubemapHandle> cubeMaps;
|
||||
Vector<GFXCubemapHandle> irradMaps;
|
||||
|
||||
bool mHasSkylight;
|
||||
GFXCubemapHandle skylightIrradMap;
|
||||
GFXCubemapHandle skylightPrefilterMap;
|
||||
Point4F skylightPos;
|
||||
bool mHasSkylight;
|
||||
S32 mSkylightCubemapIdx;
|
||||
|
||||
AlignedArray<Point4F> mProbePositions;
|
||||
AlignedArray<Point4F> mProbeBBMin;
|
||||
|
|
@ -286,7 +282,7 @@ public:
|
|||
/// Returns the active LM.
|
||||
static inline RenderProbeMgr* getProbeManager();
|
||||
|
||||
ProbeRenderInst* registerProbe(const bool& isSkylight);
|
||||
ProbeRenderInst* registerProbe();
|
||||
void unregisterProbe(U32 probeIdx);
|
||||
|
||||
virtual void setProbeInfo(ProcessedMaterial *pmat,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue