diff options
author | Dave Parks <davep@lindenlab.com> | 2022-11-18 11:45:04 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-11-18 11:45:04 -0600 |
commit | b1dabc0f008bf0e6558a93bca2a2d818073a03c1 (patch) | |
tree | a6ce69869e9bd9a40143d74c984444d4e4f068ed /indra/newview/pipeline.h | |
parent | e2d1af5c4f7bdc04becb4a4fd56b7e9057bdfedc (diff) |
SL-18669 Fix for broken lighting on transparent faces. Optimize handling of "bindDeferredShader" and shadow map setup.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index 5b068fc386..0fbc5cf960 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -293,6 +293,12 @@ public: void renderGeomDeferred(LLCamera& camera, bool do_occlusion = false); void renderGeomPostDeferred(LLCamera& camera); void renderGeomShadow(LLCamera& camera); + void bindLightFunc(LLGLSLShader& shader); + + // bind shadow maps + // if setup is true, wil lset texture compare mode function and filtering options + void bindShadowMaps(LLGLSLShader& shader); + void bindDeferredShaderFast(LLGLSLShader& shader); void bindDeferredShader(LLGLSLShader& shader, LLRenderTarget* light_target = nullptr); void setupSpotLight(LLGLSLShader& shader, LLDrawable* drawablep); |