mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge pull request #2336 from wcbx/wcbx-cloudtexprofile
Fixes artifacts in Cloud Layer.
This commit is contained in:
commit
f71db60e78
1 changed files with 3 additions and 3 deletions
|
|
@ -398,10 +398,10 @@ void CloudLayer::_initTexture()
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( mTextureName.isNotEmpty() )
|
if ( mTextureName.isNotEmpty() )
|
||||||
mTexture.set( mTextureName, &GFXStaticTextureSRGBProfile, "CloudLayer" );
|
mTexture.set( mTextureName, &GFXNormalMapProfile, "CloudLayer" );
|
||||||
|
|
||||||
if ( mTexture.isNull() )
|
if ( mTexture.isNull() )
|
||||||
mTexture.set( GFXTextureManager::getWarningTexturePath(), &GFXStaticTextureSRGBProfile, "CloudLayer" );
|
mTexture.set( GFXTextureManager::getWarningTexturePath(), &GFXNormalMapProfile, "CloudLayer" );
|
||||||
}
|
}
|
||||||
|
|
||||||
void CloudLayer::_initBuffers()
|
void CloudLayer::_initBuffers()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue