summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/windlight
AgeCommit message (Collapse)Author
2023-06-21SL-19792 Fix for visible gaps in water between region water and void water.RunitaiLinden
2023-06-01DRTVWR-559 Revert skies to be very close to release and disable tone mapping ↵RunitaiLinden
when probe ambiance is zero. Hack for desaturating legacy materials has been removed for performance and quality reasons. Adds a new setting for auto adjusting legacy skies. This is the PBR "opt out" button. If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure. If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half. HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed. If you want relatively even exposure all the time, set HDR Scale to 1.0. If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale. Also tuned up SSAO (thanks Rye!). Reviewed with Brad.
2023-02-03SL-19148 Decruft followthrough -- kill more unused shader filesDave Parks
2023-02-03SL-19148 Decruft followthrough -- decruft shader tree and some remaining ↵Dave Parks
forward rendering code.
2023-02-03SL-19148 Decruft some forward shaders and drawpools. Fix HUDs being in ↵Dave Parks
wrong color space.
2022-11-28Merge remote-tracking branch 'origin/DRTVWR-528' into DRTVWR-559Brad Kittenbrink
2022-10-11SL-18190 Cleanup -- convert some vec4's to vec3's (as they really are), ↵Dave Parks
remove some unused glsl files.
2022-09-30SL-18239 Unify PBR and non-PBR treatment of ambient/SSAO/irradiance. ↵Dave Parks
Restore SSAO to release version.
2022-09-27SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach ↵Dave Parks
-- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2022-07-08SL-17703: PBR: Sun/Moon lighting is in sRGBPtolemy
2021-04-29SL-14113: Merge duplicate shader constant for clarity.Ptolemy
2021-04-29SL-14113: Remove magic numbers. Take advantage of existing shader #defines ↵Ptolemy
injection by extending shader loading to make use of addConstant() instead of hard-coding magic number constants in each GLSL file.
2021-04-29SL-14113 Fix moon hazePtolemy
2021-03-18DRTVWR-528, delete all unreferenced shader files, improve dev QoLDave Houlton
2021-01-29SL-14731: Fix sun gamma -- merge Sovereign Engineer's patch: Fix sun gamma ↵Ptolemy
space for accurate color reproduction of sun textures
2020-09-29Merge branch 'master' 6.4.10 into DRTVWR-510Dave Houlton
2020-09-16DRTVWR-4976 Misc shader cleanup.Dave Houlton
Removed some potential div-by-0 NaNs and a mangled clamp.
2020-09-11SL-13465 Restore Pre-EEP haze effecting moonPtolemy
2020-09-11SL-13465 Remove hack offset of moon when AS is ON to match when AS is OFF.Ptolemy
2020-09-02SL-12978 & SL-13743. Remove abrupt changes in sun intensity calc, preserve ↵Dave Houlton
original fall-off. Had to find a balance in the sunlight intensity calculation that behaves correctly for both these issues.
2020-09-02SL-12978 clang-format shader file (whitespace)Dave Houlton
2020-09-02SL-12978 de-obfuscate, banish the tempsDave Houlton
2020-09-02SL-12978 refactor sunlight intensity calculationDave Houlton
2020-08-21SL-13743 revert part of SL-12978 change that broke low-angle sunlightDave Houlton
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
2020-07-02SL-13539 Fix a white artifact over the water at certain anglesPtolemy
2020-07-01SL-12978 Add note about similar code in C++ and GLSLPtolemy
2020-07-01SL-12978: CleanupPtolemy
2020-07-01SL-12978: Fix off-axis water dimmingPtolemy
2020-06-16SL-13449, fix link errors for class1 soften shadersDave Houlton
2020-03-16Add missing fullbrightAtmosTransportFrag stub.Runitai Linden
2020-03-05WIP - Windlight sun lighting should happen in sRGB space, not linear space. ↵Runitai Linden
This keeps ambient from getting overblown and better matches environment lighting with ALM on/off.
2019-09-09SL-1144Graham Linden
The un-water-fogged gap area was rendering while we were still above water, but the water surface was being near culled. I've re-enabled preculling water objects (which also fixes issues with water culling vs spinning the camera) and it seems to behave correctly.
2019-07-23SL-11621Graham Linden
Remove all references to unused shader var global_gamma. Remove many unused decls for gamma from shaders. Make post-deferred gamma correction use display_gamma. Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-07-22SL-11443Graham Linden
Make fullbright rigged objects with alpha mode none use fullbright shader instead of incorrectly using the material shader. Increase effect of variance in cloud shaders.
2019-07-15SL-11590Graham Linden
Modified windlight shader to remove adjustment to glow.z
2019-07-10SL-1491Graham Linden
Make sun additive contribition depend on facing the sun (without breaking fog). Put back scaling factor keeping sun contrib from blowing out with new FS param range for glow.
2019-07-03SL-11545, SL-11543, SL-10625Graham Linden
Fix emissives without normal maps clobbering the alpha output in materialF. Modify glow size calc to get close to pre-EEP sun glow behavior (may require sky vert settings >= mid). Make bake ignore alpha readback for Intel until we can determine why their drivers now go boom.
2019-06-10SL-10969, SL-11051Graham Linden
Make fullbright alpha mask with mask cutoff == 0 not generate shadows. Adjust handling of ambient across forward and deferred again.
2019-06-06SL-10969Graham Linden
More tweaking ambient light.
2019-06-05SL-9989Graham Linden
Clamp fog distance multiplier to >= 0.05 and adjust min range on control as well. Make sky shaders use dist mul consistently.
2019-06-03SL-10966Graham Linden
Fix light atten and transmittance calcs breaking ambient color contrib to fog. Needs to be tested on DRTSIM-415 or better to get legacy viewer settings that match EEP.
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-16SL-11195Graham Linden
Adjust ambient clamp up to get closer match to release viewer for existing content.
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-11055, SL-10966, SL-11087Graham Linden
Make haze look more like WL. Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
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.