summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight/moonF.glsl
AgeCommit message (Collapse)Author
2019-02-06SL-10478Graham Linden
Fix side-effects of having both sun and moon as potential directional light contributors. We pass an int to the shader indicating which to prefer instead of making per-pixel decisions and pass the moonlight color/di independently. Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
2018-10-30SL-9976 change moon blend/brightness handling in shaders and cleanup ↵Graham Linden
extraneous GL state management.
2018-10-08SL-9751Graham Linden
Add optional moon brightness setting
2018-08-30MAINT-9064Graham Linden
Fix binding of current/next sun/moon textures. Remove redundant code in GLSLShader determination of tex uniform bindings. Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
2018-07-03MAINT-8838 render a sun disc if the texture(s) are provided by WL settings ↵Graham Linden
(default is no sun disc and just haze) Refactor sky texture optimization to retain building the cubemap used by shiny.
2018-06-27Make distinct ALM moon shader, tweak mix factor for day vs night moon ↵Graham Linden
shading, and fix transposed name of daycycle func.
2018-06-11Fix water fog consolidation in underwater shaders.Graham Linden
Add plumbing facilities to allow current and next moon textures to be passed to moon shader. Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-08Add specific shader for the moon to allow different rendering at day vs night.Graham Linden
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.