mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
init reflection probes
This commit is contained in:
parent
b73353a446
commit
33e78fd8a8
1 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ ReflectionProbe::ReflectionProbe()
|
|||
|
||||
mUseHDRCaptures = true;
|
||||
|
||||
mCubemapName = StringTable->EmptyString();
|
||||
mStaticCubemap = NULL;
|
||||
mProbeUniqueID = "";
|
||||
|
||||
|
|
@ -259,7 +260,7 @@ bool ReflectionProbe::_setReflectionMode(void *object, const char *index, const
|
|||
{
|
||||
//Clear our cubemap if we changed it to be baked, just for cleanliness
|
||||
probe->mReflectionModeType = BakedCubemap;
|
||||
probe->mCubemapName = "";
|
||||
probe->mCubemapName = StringTable->EmptyString();
|
||||
}
|
||||
|
||||
probe->setMaskBits(StaticDataMask);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue