summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingssky.cpp
AgeCommit message (Collapse)Author
2019-05-31SL-11117: Set default sky asset ID to A-12PMRider Linden
2019-05-29SL-10969Graham Linden
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
2019-05-21SL-11238Graham Linden
Fix ambient light inputs to the renderer. Fix 3rd sky shader w/ mistaken density mod conversion. Make ambient clamp apply to all modes. Tune ALM ambient clamp to match non-ALM.
2019-05-16Revert lighting changes for 10856 causing knock-on.Graham Linden
2019-05-14MergeGraham Linden
2019-05-14Force file update.Graham Linden
2019-05-13SL-10856Graham Linden
Modify calc of sunlight to avoid clipping in gamma correct on values outside 0-1 range. Modify shaders to put back ambient clamp tuned to be close to ambient contrib in low/mid lighting.
2019-05-07SL-11086Graham Linden
Re-fix sun/moon glow factor and make it depend on moon brightness. Make cloud shaders use sunlight color exclusively for consistency when moon is up or down.
2019-05-03SL-11070Graham Linden
Gave clouds the Bob Ross treatment.
2019-05-03SL-11087, SL-11086, SL-11092Graham Linden
Fix sun/moon glow factor bustage. Make darkness an option. Fix moon fade shader logic getting confused when sun was below horizon.
2019-04-29SL-11065Graham Linden
Modify is sun up logic to exclude condition of moon.
2019-04-25SL-10904, SL-10998, SL-11018Graham Linden
Fix handling of 1/light_y when y was tiny but getting even tinier. Add similar adjustment to shader version of same calc.
2019-04-25Put warnings on sun/moon direction as they were.Graham Linden
2019-04-25Remove bughunting asserts.Graham Linden
2019-04-25Remove unused vars making Clang warnerror.Graham Linden
2019-04-25Fix dark ALM and strangeness at Mid lighting (class 3 but with a darkness ↵Graham Linden
about it). Make a distinct class3/lighting/lightV which boosts to WL levels (* 2.0) and make lighting without WL atmo enabled use class 2 or below. Make forward shaders (alpha and materialF with alpha-blend mode on) more consistent with deferred lighting.
2019-04-22Fix mismatch between release and EEP in sunlight and ambient color from ↵Graham Linden
settings.
2019-04-08SL-10912Graham Linden
Fix conversion of star brightness, density mult, and distance mult to legacy ranges. Make settings look in both legacyhaze and top-level settings for haze params.
2019-03-29Fix windows line endings.Graham Linden
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-03-26Remove remaining 0.5/1.5 fudge factors on lighting radius/falloff params.Graham Linden
Make moonlight darker and slightly bluish for scotopic feel when moon is primary.
2019-03-26Make whether the sun or moon is primary part of llrender light state so we ↵Graham Linden
can set uniforms for shaders along with other light params. Fix atten calcs to not use abs val.
2019-03-15SL-10743, SL-10744Graham Linden
Don't step on SUNLIGHT_COLOR uniform w/ syncLightState competing set. Put drawpool alpha render loop lighting setup changes as they were (this will give back some performance and possibly require reopening 10566).
2019-02-20SL-9660: Next pass cleanup. Removed and downgraded a number of logs. ↵Rider Linden
Removed refs to LAPAS. Better sync with legacy regions.
2019-02-08SL-10414Graham Linden
2019-02-07SL-10486Graham Linden
Use brighter moon texture for both default and blank moon texture ids in picker.
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-01Remove MSVC pragma to make debugging feasible in RelWithDebInfo.Graham Linden
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-30SL-9925: Viewer now shows an error message if import from legacy windlight ↵Rider Linden
fails.
2019-01-22SL-10387: Move settings intjection to a setting object (and out of ↵Rider Linden
llEnvironment)
2019-01-15SL-9917: New default sun texture, blank moon is now no image.Rider Linden
2019-01-08MergeGraham Linden
2019-01-07SL-10067, SL-9917: Updated UUIDs for sun and moon textures and to corrected ↵Rider Linden
known skies.
2018-12-19Add new shaders for advanced atmo SH env lighting calcs.Graham Linden
2018-12-12MergeRider Linden
2018-12-12SL-10238: Viewer spport for push notifications from the simulator contaiting ↵Rider Linden
partial groups of settings. Blend these settings into the current environment.
2018-12-03SL-10055Graham Linden
Modify handling of directional light to prefer sun when it is up but use moon dir/color when it is alone in the sky. Modify handling of shader in shaders to get some shadowing of ambient and nighttime shadowing.
2018-11-19SL-10086 FIXED [EEP] Rainbow and Halo use wrong texturesmaxim_productengine
2018-11-01Merged in graham_linden/viewer-eep-fixes (pull request #178)Rider Linden
Default
2018-11-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-11-01SL-9793 EEP Clouds vanish and reappear abruptly if one of textures is not setandreykproductengine
2018-10-30SL-1476 EEP Better shader transitionsandreykproductengine
2018-10-29Merged in andreykproductengine/maint-eep (pull request #169)Rider Linden
SL-1476 EEP Better shader resets and transitions Approved-by: Graham Madarasz <graham@lindenlab.com>
2018-10-29SL-9977Graham Linden
SL-9973
2018-10-29SL-1476 EEP Better shader resets and transitionsandreykproductengine
2018-10-19MergeGraham Linden
2018-10-18Port sim-side changes to back-conversion of new settings to legacy.Graham Linden
Fix validating of density multiplier to clamp >= 0.0001f. Port fix to setter for ambient color in sky settings.