소스 검색

Merge pull request #2336 from wcbx/wcbx-cloudtexprofile

Fixes artifacts in Cloud Layer.
Areloch 6 년 전
부모
커밋
ce5c7db364
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Engine/source/environment/cloudLayer.cpp

+ 3 - 3
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();   
-}
+}