summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred
AgeCommit message (Collapse)Author
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-04Changes somehow missing from last commitRunitai Linden
2020-02-25SL-12574: Simplify Direct AmbientPtolemy
2020-02-07DRTVWR-440: SL-12574: Tweak environment cube map to better match WindlightPtolemy
2020-02-04SL-12005, back out SRGB changes for projector spotlightsDave Houlton
Deferred spotlights were transitioned srdb->linear in commit 653133b The lights transition between the deferred and (some other) path at fixed camera distance, causing a distinct light-level pop. Backing out this change to avoid the pop. Note to the future: pick a light space at the beginning and stick with it.
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-12SL-11545Graham Linden
Fix glow calcs in sky shaders (not just the not shared enough atmospherics funcs). Revert 10625 attempted fix as it breaks baggy clothes as much as skipping readbacks does.
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-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-20SL-9989Graham Linden
Remove use of distance multiplier from sky shaders (but leave in the atmospherics helpers).
2019-06-19Sky fixes.Graham Linden
Make class1 sky use pre-projection pos to get proper distances for attenuation. Make all sky shaders use the dist_mul again. Revert to using old sky tessellation logic (may regress bugs addressed by new tess code).
2019-06-18SL-11041Graham Linden
Revert fix for SL_11406 causing regression of SL-11041
2019-06-18Fix sky atmospherics in class1 to match class2 and Mid.Graham Linden
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-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-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-30SL-11289Graham Linden
Limit banding from atmo exp falloff calc.
2019-05-29SL-10969Graham Linden
Modify ambient handling and forward projector lighting again to stamp out alpha fires.
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-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-13SL-10996Graham Linden
Restore old sun matrix gen code. Make sky use correct colorspace. Make sunlight color the CPU-generated WL color when not using atmo shaders or deferred (helps 11107).
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-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-11070Graham Linden
Gave clouds the Bob Ross treatment.
2019-05-03SL-11075Graham Linden
Make alpha shader apply vert color everywhere.
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-29SL-10956, SL-10969Graham Linden
Don't ignore far z in culling. Fix Mid lighting being very dark. Partial fix for broken projectors with forward rendering.
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.