summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
AgeCommit message (Collapse)Author
2022-06-21SL-17274: Remove hard-coded magic number checking if G-Buffer flag is setPtolemy
2021-01-06SL-14035: Incorporate patch from Sovereign Engineer to fix specular reflectionPtolemy
2020-06-18SL-13163 revert 2 more instances of 'new EEP' specular calculationDave Houlton
2020-03-25Fix for class2/softenLightF.glsl not matching class1/softenLightF.glslRunitai Linden
2020-03-20WIP - Make EEP match production.Runitai Linden
2020-03-13SL-12850 Adhere to coding standardPtolemy
2020-03-13SL-12850Ptolemy
2020-03-06SL-12574 Fix EEP cubemap not matching non-EEP for both ALM on and offPtolemy
2020-03-06Fix for sunlight having improper gamma curve for angular attenuation. Fix ↵Runitai Linden
for lack of angular attenuation on ambient lighting on triangles facing away from sun.
2020-03-06Fix for sky in wrong color space.Runitai Linden
2020-03-06Fix for under water being much brighter and mismatching between alpha and ↵Runitai Linden
deferred. Don't make terrain fullbright under water.
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.
2020-03-04WIP - fix various inconsistencies in sRGB vs linear color space. Fix ↵Runitai Linden
inconsistencies between softenLightF.glsl, materialF.glsl, and alphaF.glsl
2020-02-25SL-12574: Simplify Direct AmbientPtolemy
2020-02-07DRTVWR-440: SL-12574: Tweak environment cube map to better match WindlightPtolemy
2019-08-23SL-11774Graham Linden
Fix diffuse boost when water fog is enabled and make deferred underwater shader participate in EEP/WL param updates by marking it as a water shader.
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-06-28SL-9928Graham Linden
Take out angular atten on additive too.
2019-06-28SL-9928Graham Linden
Remove spec killing additive fix for 1491 to unbreak fog.
2019-06-27SL-11512Graham Linden
Modify method for nerfing additive on terrain so it doesn't trip up deferred lighting and make light artifacts.
2019-06-25SL-1491Graham Linden
Nerf backfacing additive in ALM to prevent lens flares when facing away from sun. Use hack in spec gbuffer alpha to nerf additive only on terrain (leaves additive glare for sunsets on water).
2019-06-18SL-11041Graham Linden
Revert fix for SL_11406 causing regression of SL-11041
2019-06-18SL-11372Graham Linden
Fix incorrect diffuse handling in class1 softenLight from contrib.
2019-06-11SL-11370, SL-11372, SL-11337Graham Linden
Fix culling on Low+ water reflection pass. Make Mid+ / High use class1 deferred sky again (no rainbows, but faster!). Fix setting of cloud color for deferred sky/cloud shaders. Put water reflections back in wrong colorspace for consistency with release.
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-03SL-11238, SL-11337Graham Linden
Tweak application of ambient in deferred soften light for class1/2
2019-05-31SL-11337Graham Linden
Fix handling of ambient (was getting reset to 1,1,1,1 unintentionally). Modify shaders to balance ambient across render modes again.
2019-05-29SL-10969Graham Linden
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
2019-05-28SL-10969, SL-11073Graham Linden
Modify forward projector lighting to use falloff like the deferred lights. Make tex cache not evaluate evictions for size during validation passes.
2019-05-23Add render debug controls for forcing disable of ambient, sun, and local ↵Graham Linden
light contributions (engages AMBIENT_KILL, SUNLIGHT_KILL, and LOCAL_LIGHT_KILL defines in shaders to accomplish those tasks as required by each render mode).
2019-05-22SL-10969Graham Linden
Fix linear attenuation on forward projector lighting. Revert setup of falloff to prev code. Revert deferred water spec and tweak refl/refr blend.
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-17SL-11112Graham Linden
Fix blend between reflected/refracted water maps (make less transparent) and fix setting of water fog color alpha on low end to better match prev behavior of setting the internal control value in that case.
2019-05-16SL-11085Graham Linden
Modify new spec response to better match old gloss response curve. Tuned at 255, 192, 160, 128, 64, and 32 glossiness.
2019-05-14SL-11085Graham Linden
Reduce spec bloom further.
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-07Fix diffuse boost which we don't want underwater, but do want in other cases.Graham Linden
2019-05-06SL-11102, SL-11103Graham Linden
Fix diffuse boost in deferred lighting to match non-deferred. Make class2 soften not clamp shadow color to incoming alpha (make shadows appear on terrain underwater).
2019-05-03SL-11085Graham Linden
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
2019-05-03SL-11090Graham Linden
Tamp down bloom so we don't have to redo ten thousand gloss maps.
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-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-10856Graham Linden
Remove ambient clamp to keep shadows dark. Partial fix for class 3 ambient term being wrong.
2019-04-29Remove hack mul of sunlight in alpha shader and add some taps for debugging ↵Graham Linden
the lighting pipe.
2019-04-26Lighting WIPGraham Linden
Consistency across class2/3/ALM lighting.
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-23SL-10901Graham Linden
Bias shadow sampling and allow control of how dark shadows are (clamped ambient).
2019-04-23SL-10901 part 1Graham Linden
Fix flicker even in no shadow ALM from pow on final_da. Shadow acne at Midday still present.
2019-04-19SL-10967Graham Linden
All paths now use the same atmospheric transport calcs.