mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Various fixes
Separated baked cubemap load/processing logic into a separate function for clarity various corrections for when fields change so it properly notifies down to the client Fixed enable flag logic to actually work Fixed skylight enable flag so it properly disables if flipped off
This commit is contained in:
parent
a552471e4e
commit
27b304eec3
8 changed files with 208 additions and 181 deletions
|
|
@ -415,6 +415,8 @@ void RenderProbeMgr::_setupStaticParameters()
|
|||
mEffectiveProbeCount = 0;
|
||||
mMipCount = 0;
|
||||
|
||||
mHasSkylight = false;
|
||||
|
||||
if (probePositionsData.size() != MAXPROBECOUNT)
|
||||
{
|
||||
probePositionsData.setSize(MAXPROBECOUNT);
|
||||
|
|
|
|||
|
|
@ -77,9 +77,6 @@ struct ProbeRenderInst
|
|||
GFXCubemapHandle mPrefilterCubemap;
|
||||
GFXCubemapHandle mIrradianceCubemap;
|
||||
|
||||
//Utilized in dynamic reflections
|
||||
CubeReflector mCubeReflector;
|
||||
|
||||
/// The priority of this light used for
|
||||
/// light and shadow scoring.
|
||||
F32 mPriority;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue