Merge pull request #671 from Azaezel/alpha40/brdfFixes

brdf handling corrections
This commit is contained in:
Brian Roberts 2021-11-14 13:46:47 -06:00 committed by GitHub
commit 4f04213cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 15 deletions

View file

@ -290,7 +290,7 @@ bool RenderProbeMgr::onAdd()
}
String brdfTexturePath = GFXTextureManager::getBRDFTexturePath();
if (!mBRDFTexture.set(brdfTexturePath, &GFXTexturePersistentSRGBProfile, "BRDFTexture"))
if (!mBRDFTexture.set(brdfTexturePath, &GFXTexturePersistentProfile, "BRDFTexture"))
{
Con::errorf("RenderProbeMgr::onAdd: Failed to load BRDF Texture");
return false;