diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-27 22:00:50 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-27 22:00:50 +0100 |
commit | 5c2f49b86511f88de520f4297f20e6382139a927 (patch) | |
tree | 14faba1293222e0594e14be0eeb2e38e724e248c /indra/newview/lldrawpoolwlsky.cpp | |
parent | a98d27d976f9cdb07635e7eb7d2c194cf3b7f987 (diff) |
Make distinct ALM moon shader, tweak mix factor for day vs night moon shading, and fix transposed name of daycycle func.
Diffstat (limited to 'indra/newview/lldrawpoolwlsky.cpp')
-rw-r--r-- | indra/newview/lldrawpoolwlsky.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp index abf07377e2..69a7b13537 100644 --- a/indra/newview/lldrawpoolwlsky.cpp +++ b/indra/newview/lldrawpoolwlsky.cpp @@ -90,6 +90,10 @@ void LLDrawPoolWLSky::beginDeferredPass(S32 pass) { sky_shader = &gDeferredWLSkyProgram; cloud_shader = &gDeferredWLCloudProgram; + moon_shader = + LLPipeline::sUnderWaterRender ? + &gObjectFullbrightNoColorWaterProgram : + &gDeferredWLMoonProgram; } void LLDrawPoolWLSky::endDeferredPass(S32 pass) |