mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
from @rextimmy automatically adds a sky feature to skies. (render sorting and orientation. previously required setting in script.)
This commit is contained in:
parent
7bba3ee2de
commit
ed264e4e12
3 changed files with 3 additions and 2 deletions
|
|
@ -341,7 +341,7 @@ void ProcessedShaderMaterial::_determineFeatures( U32 stageNum,
|
|||
fd.features.addFeature( MFT_CubeMap );
|
||||
}
|
||||
|
||||
if (mMaterial->mIsSky)
|
||||
if (features.hasFeature(MFT_SkyBox))
|
||||
{
|
||||
fd.features.addFeature(MFT_CubeMap);
|
||||
fd.features.addFeature(MFT_SkyBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue