summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/moonF.glsl
AgeCommit message (Collapse)Author
2022-06-21SL-17274 Cleanup hard-coded gbuffer atmos flag for softenlightPtolemy
2020-09-11SL-13465 Restore Pre-EEP haze effecting moonPtolemy
2020-08-16SL-13465 Fix local scalar mix masking global mix() function.Ptolemy
2020-08-16SL-13465 Partially restore atmospheric effects for the moon.Ptolemy
2019-05-03SL-11075Graham Linden
Make alpha shader apply vert color everywhere.
2019-05-02Roll back sRGB decode changes from contrib for now.Graham Linden
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
2019-04-30SL-11071Graham Linden
Make sun disc and moon shaders use sRGB hardware tex sampling. Remove sun disc shader use of fullbright transport (fogging).
2019-04-15SL-10968Graham Linden
Tweak forced frag depths for sun/moon disc images to resolve depth fighting with hills etc.
2019-04-10SL-10925, SL-10926, SL-10896Graham Linden
New fix for 925/926 that doesn't cause 896 again. Also linearize moon disc tex color.
2019-04-02SL-10857Graham Linden
Juggle forced frag depths for moon/sun/stars/sky to get depth fighting with distant terrain...wait for it...sorted.
2019-03-28SL-10831Graham Linden
Make moon brightness env setting affect moon diffuse/ambient color combo so it affects in-world lighting. Adjust how the moon brightness affects the moon disc texture rendering (washes out less).
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.
2019-02-01SL-9996, SL-1130, SL-5546Graham Linden
Fix bug with setting texture matrix for rigged mesh. Fix z-fighting between sea and sky in ALM by cheating sky, stars, and moon using gl_FragDepth. Fix handling of atmospheric haze glow w.r.t independent sun/moon positioning (we can no longer depend on them being mutex to each other).
2019-02-01Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.Graham Linden
2019-02-01Fix issue with OSX shader compiler not implementing #if correctly (nice job, ↵Graham Linden
Timmy).
2019-01-24SL-10276Graham Linden
SL-9851 Fix cloud shaders to ignore clouds when cloud_scale is 0. Fix creation of heavenly body geo to avoid degenerate vector math and not randomly flip orientation when crossing zenith. Add sun_up_factor to eliminate sun glow around moon when sun is down.
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-19Modify deferred sun disc and moon shaders to write all deferrred gbuffer ↵Graham Linden
channels and fix rendering issue from norm/spec channels during lighting.
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.