diff options
author | Dave Parks <davep@lindenlab.com> | 2023-02-09 17:00:36 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-02-09 17:00:36 -0600 |
commit | 577f6a46f02ecfa4efabc0b379e44e4f53a0b391 (patch) | |
tree | 6c55da64e3276ae5cfb3ea78e54b906d90234993 /indra/newview/lldrawpoolalpha.h | |
parent | 95de63eaa3bab44dc435d1448d0732d6ffe13544 (diff) |
SL-19181 Modulate "glow" by PBR emissive.
Diffstat (limited to 'indra/newview/lldrawpoolalpha.h')
-rw-r--r-- | indra/newview/lldrawpoolalpha.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/lldrawpoolalpha.h b/indra/newview/lldrawpoolalpha.h index 1e10bb5566..f2f802d85e 100644 --- a/indra/newview/lldrawpoolalpha.h +++ b/indra/newview/lldrawpoolalpha.h @@ -77,11 +77,14 @@ private: LLGLSLShader* simple_shader = nullptr; LLGLSLShader* fullbright_shader = nullptr; LLGLSLShader* emissive_shader = nullptr; + LLGLSLShader* pbr_emissive_shader = nullptr; LLGLSLShader* pbr_shader = nullptr; - void drawEmissive(U32 mask, LLDrawInfo* draw); - void renderEmissives(U32 mask, std::vector<LLDrawInfo*>& emissives); - void renderRiggedEmissives(U32 mask, std::vector<LLDrawInfo*>& emissives); + void drawEmissive(LLDrawInfo* draw); + void renderEmissives(std::vector<LLDrawInfo*>& emissives); + void renderRiggedEmissives(std::vector<LLDrawInfo*>& emissives); + void renderPbrEmissives(std::vector<LLDrawInfo*>& emissives); + void renderRiggedPbrEmissives(std::vector<LLDrawInfo*>& emissives); bool TexSetup(LLDrawInfo* draw, bool use_material); void RestoreTexSetup(bool tex_setup); |