emissive to recivesShadows

now we've got a glow mask and multiplier, ditch the emissive flag in favor of a proper recivesShadows
This commit is contained in:
AzaezelX 2022-12-29 13:38:30 -06:00
parent 54a2235128
commit 645f88d4af
20 changed files with 70 additions and 114 deletions

View file

@ -572,7 +572,7 @@ void SkyBox::_initRender()
mFogBandMat->mTranslucent = true;
mFogBandMat->mVertColor[0] = true;
mFogBandMat->mDoubleSided = true;
mFogBandMat->mEmissive[0] = true;
mFogBandMat->mReceiveShadows[0] = false;
FeatureSet features = MATMGR->getDefaultFeatures();
features.addFeature(MFT_isBackground);