diff options
author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-08-29 05:08:47 -0700 |
---|---|---|
committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-08-29 05:08:47 -0700 |
commit | 348d427db6537746c5c8c9a0d1aa021f074afbb5 (patch) | |
tree | e2782a5638bd489d30dcd0bb1fd507e575cc1fe2 /indra/newview/llreflectionmapmanager.cpp | |
parent | c5bfe869154cd4708c9bca63f08cb4c958198638 (diff) |
Add a probe strength uniform for hero probes.
On standard reflection probes this doesn't really do anything.
DRTVWR-583
Diffstat (limited to 'indra/newview/llreflectionmapmanager.cpp')
-rw-r--r-- | indra/newview/llreflectionmapmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llreflectionmapmanager.cpp b/indra/newview/llreflectionmapmanager.cpp index e855be8fbd..61143c61e8 100644 --- a/indra/newview/llreflectionmapmanager.cpp +++ b/indra/newview/llreflectionmapmanager.cpp @@ -714,6 +714,7 @@ void LLReflectionMapManager::updateProbeFace(LLReflectionMap* probe, U32 face) mTexture->bind(channel); gRadianceGenProgram.uniform1i(sSourceIdx, sourceIdx); gRadianceGenProgram.uniform1f(LLShaderMgr::REFLECTION_PROBE_MAX_LOD, mMaxProbeLOD); + gRadianceGenProgram.uniform1f(LLShaderMgr::REFLECTION_PROBE_STRENGTH, 1.f); U32 res = mMipChain[0].getWidth(); |