From 028c9a40ac234eaf161eb33b55500751345b2f59 Mon Sep 17 00:00:00 2001 From: wcbx <44142101+wcbx@users.noreply.github.com> Date: Sun, 10 Mar 2019 23:08:50 -0400 Subject: [PATCH] Fixes artifacts in Cloud Layer. Cloud Layer uses normal. This applies appropriate profile for normal texture. --- Engine/source/environment/cloudLayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Engine/source/environment/cloudLayer.cpp b/Engine/source/environment/cloudLayer.cpp index e30f1ecd1..08cb6ce00 100644 --- a/Engine/source/environment/cloudLayer.cpp +++ b/Engine/source/environment/cloudLayer.cpp @@ -398,10 +398,10 @@ void CloudLayer::_initTexture() } if ( mTextureName.isNotEmpty() ) - mTexture.set( mTextureName, &GFXStaticTextureSRGBProfile, "CloudLayer" ); + mTexture.set( mTextureName, &GFXNormalMapProfile, "CloudLayer" ); if ( mTexture.isNull() ) - mTexture.set( GFXTextureManager::getWarningTexturePath(), &GFXStaticTextureSRGBProfile, "CloudLayer" ); + mTexture.set( GFXTextureManager::getWarningTexturePath(), &GFXNormalMapProfile, "CloudLayer" ); } void CloudLayer::_initBuffers() @@ -501,4 +501,4 @@ void CloudLayer::_initBuffers() } mPB.unlock(); -} \ No newline at end of file +}