mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
brdf handling corrections
1-handle the brdfTexture in linear space, not srgb. 2-clamp surface.NoV across the board for consistency. (solves several new and ongoing artifacts)
This commit is contained in:
parent
e0e3ebc69d
commit
b60d51969e
5 changed files with 8 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue