diff options
author | Dave Parks <davep@lindenlab.com> | 2022-12-16 08:59:02 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-12-16 08:59:02 -0600 |
commit | 57c54ec4b75aac8ba2a4235f88760bd8534f2c7a (patch) | |
tree | 62b278bec6c9c53b491953f85cfc2b486e8aff24 /indra/newview/lldrawpoolpbropaque.cpp | |
parent | 6f7eeecdb33c14cb3044118a9d6e2eea900af55e (diff) |
SL-18851 Fix for PBR materials sometimes not casting shadows when they should.
Diffstat (limited to 'indra/newview/lldrawpoolpbropaque.cpp')
-rw-r--r-- | indra/newview/lldrawpoolpbropaque.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolpbropaque.cpp b/indra/newview/lldrawpoolpbropaque.cpp index d0c588b65a..c39060a326 100644 --- a/indra/newview/lldrawpoolpbropaque.cpp +++ b/indra/newview/lldrawpoolpbropaque.cpp @@ -48,7 +48,7 @@ void LLDrawPoolGLTFPBR::renderDeferred(S32 pass) for (int i = 0; i < 2; ++i) { bool rigged = (i == 1); - LLGLSLShader* shader = LLPipeline::sShadowRender ? &gDeferredShadowAlphaMaskProgram : &gDeferredPBROpaqueProgram; + LLGLSLShader* shader = LLPipeline::sShadowRender ? &gDeferredShadowGLTFAlphaMaskProgram : &gDeferredPBROpaqueProgram; U32 vertex_data_mask = getVertexDataMask(); if (rigged) |