From d168df03e02f54973c82ae017ac9027797c90334 Mon Sep 17 00:00:00 2001 From: GoldenThumbs Date: Fri, 11 Dec 2020 19:07:19 -0600 Subject: [PATCH] Correct bump map in waterObject.cpp being in sRGB space --- Engine/source/environment/waterObject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/environment/waterObject.cpp b/Engine/source/environment/waterObject.cpp index 9dcda663d..1d3da4aeb 100644 --- a/Engine/source/environment/waterObject.cpp +++ b/Engine/source/environment/waterObject.cpp @@ -1162,9 +1162,9 @@ bool WaterObject::initMaterial( S32 idx ) void WaterObject::initTextures() { if ( mRippleTexName.isNotEmpty() ) - mRippleTex.set( mRippleTexName, &GFXStaticTextureSRGBProfile, "WaterObject::mRippleTex" ); + mRippleTex.set( mRippleTexName, &GFXStaticTextureProfile, "WaterObject::mRippleTex" ); if ( mRippleTex.isNull() ) - mRippleTex.set( GFXTextureManager::getWarningTexturePath(), &GFXStaticTextureSRGBProfile, "WaterObject::mRippleTex" ); + mRippleTex.set( GFXTextureManager::getWarningTexturePath(), &GFXStaticTextureProfile, "WaterObject::mRippleTex" ); if ( mDepthGradientTexName.isNotEmpty() ) mDepthGradientTex.set( mDepthGradientTexName, &GFXStaticTextureSRGBProfile, "WaterObject::mDepthGradientTex" );