clean up brdf

it was loading in the wrong colorspace, and there as a mix of texture/textureLOD refs leading to inconsistencies
This commit is contained in:
AzaezelX 2025-03-22 13:38:09 -05:00
parent 3b2f8be521
commit 61dbbf7102
6 changed files with 18 additions and 22 deletions

View file

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