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:
Areloch 2019-06-05 00:07:46 -05:00
parent a552471e4e
commit 27b304eec3
8 changed files with 208 additions and 181 deletions

View file

@ -118,6 +118,9 @@ protected:
U32 cubeDescId;
ReflectorDesc *reflectorDesc;
//Utilized in dynamic reflections
//CubeReflector mCubeReflector;
///Prevents us from saving out the cubemaps(for now) but allows us the full HDR range on the in-memory cubemap captures
bool mUseHDRCaptures;
@ -221,6 +224,7 @@ public:
bool createClientResources();
void processDynamicCubemap();
void processBakedCubemap();
void processStaticCubemap();
// This is the function that allows this object to submit itself for rendering