浏览代码

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() )
    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()
@@ -501,4 +501,4 @@ void CloudLayer::_initBuffers()
    }
    }
 
 
    mPB.unlock();   
    mPB.unlock();   
-}
+}