summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-12-19 14:59:19 -0800
committerGraham Linden <graham@lindenlab.com>2018-12-19 14:59:19 -0800
commit07bff3129adaabb90f09b71fa65c8be0c3ecef5d (patch)
treef807675a310273551dcb325227f4f7b41dfa7528 /indra/newview/pipeline.h
parent0b357e457b8abac6cd0154bcd5001ac6c2b184bf (diff)
Add new shaders for advanced atmo SH env lighting calcs.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r--indra/newview/pipeline.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h
index b631d5bf6c..66cae8bf72 100644
--- a/indra/newview/pipeline.h
+++ b/indra/newview/pipeline.h
@@ -286,6 +286,7 @@ public:
void generateSunShadow(LLCamera& camera);
LLRenderTarget* getShadowTarget(U32 i);
+ void generateSkyIndirect();
void generateHighlight(LLCamera& camera);
void renderHighlight(const LLViewerObject* obj, F32 fade);
void setHighlightObject(LLDrawable* obj) { mHighlightObject = obj; }
@@ -533,7 +534,8 @@ public:
RENDER_DEBUG_ATTACHMENT_BYTES = 0x20000000, // not used
RENDER_DEBUG_TEXEL_DENSITY = 0x40000000,
RENDER_DEBUG_TRIANGLE_COUNT = 0x80000000,
- RENDER_DEBUG_IMPOSTORS = 0x100000000
+ RENDER_DEBUG_IMPOSTORS = 0x100000000,
+ RENDER_DEBUG_SH = 0x200000000,
};
public:
@@ -650,6 +652,9 @@ public:
//texture for making the glow
LLRenderTarget mGlow[3];
+ // texture for SH indirect sky contribution
+ LLRenderTarget mSkySH;
+
//noise map
U32 mNoiseMap;
U32 mTrueNoiseMap;