summaryrefslogtreecommitdiff
path: root/indra/newview/llviewershadermgr.cpp
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-09-12 01:22:47 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-09-12 01:22:47 -0700
commit03df9545092cc3917e1c3f947ce2270d0ba31134 (patch)
treec0d8ec5bfab8c968aa025882d9b1ca92eac7a580 /indra/newview/llviewershadermgr.cpp
parentb0a9044240df88df613dcf134bfb080912864e9f (diff)
SL-17701: PBR: Tweak lighting in alpha blending
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r--indra/newview/llviewershadermgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index 142d929188..391cfab5c0 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -1688,6 +1688,7 @@ BOOL LLViewerShaderMgr::loadShadersDeferred()
llassert(success);
// Alpha Shader Hack
+ // See: LLRender::syncMatrices()
shader->mFeatures.calculatesLighting = true;
shader->mFeatures.hasLighting = true;
}