summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2
AgeCommit message (Collapse)Author
2019-03-29SL-10844, SL-10584Graham Linden
Add Geenz doings to the contribs list. Fix per-frag atmospherics to use sRGB conversion. Update ref to new KDU package.
2019-03-28SL-10829, SL-10830Graham Linden
Replace old spot prio calc. Replace fudge factors on light radius and falloff for deferred lights.
2019-03-27Fix projector falloff and attenuation handling.Graham Linden
2019-03-26More consistent lighting across ALM/non-ALM/deferred/forward rendering.Graham Linden
2019-03-25Add clamp to keep speccolor non-negative.Graham Linden
Make spot shadowing more consistent.
2019-03-22Fix class1/2 light sum loops to use light_diffuse[0] for sunlight_color too.Graham Linden
Rearrange ordering of scale down of light in class1 as well.
2019-03-21SL-10751Graham Linden
Fix skydome VB generation to cover entire range of phi (give sky pants). Add shader code to fade out clouds to simulate old look at altitude.
2019-03-19SL-10764Graham Linden
Fix the light_atten decsl for specular lighting too.
2019-03-19SL-10764Graham Linden
Fix lighting issues when using shaders, but not ALM. Shader code cleanup (remove do nothing functions only in one file). Fix obsolete comment to refer to correct storage for projector ambiance.
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-03-13SL-10741Graham Linden
Remove shadow influence on ambient term causing inverted lighting in extreme setups.
2019-03-07Fix tabs.Graham Linden
2019-03-03SL-10664, SL-10666Graham Linden
Fix up culling issues from perf work and fix Depth of Field rendering to get depth values properly. Baseline for performance work.
2019-02-28EEP performance WIPGraham Linden
Mods to improve alpha obj render performance. Removes hacky fix for HUD elements getting atmospherics. Re-orders rendering of glow to remove ~10ms/frame of shader re-re-rebinding. Fix up default classes and basic shader loading (remove unused shared modules).
2019-02-26SL-10566 part the firstGraham Linden
Tie using deferred rendering in water reflection/distortion map generation to debug var again (claw back some performance lost to doing post-deferred in water map generation). Edit softenLightF for class1/class2 to make them comparable again.
2019-02-26SL-5186, SL-10612Graham Linden
Fix lighting and gamma correction differences between deferred and forward rendering including materials objects. Verify 10612 and 10500 remain fixed. Make sure all necessary deferred shaders get the atmospheric uniform updates for doing frag-based atmospherics.
2019-02-22SL-10415, SL-10612, SL-10569Graham Linden
Fix shadow sampling min with caster dp and offset tweaks. Fix moon direction not being transformed as the sun dir is. Fix colorspace issue causing some objects to render grayish instead of blackish.
2019-02-11SL-10500Graham Linden
Replace clamp on height in atmospherics calcs on fragment shader path. Fix colorspace conversions in material shaders in forward rendering mode. Fix deferred shaders not setting the sun_up_factor uniform and getting moonlight instead of sunlight.
2019-02-08SL-10415Graham Linden
Another pass at playing with shadow_offset/bias to balance between peter-panning and shadow acne while sun and/or moon are near the horizon.
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-01-30SL-10415, SL-10434Graham Linden
Further tweaking of directional shadow sampling to balance between peter-panning and shadow acne. Move stars to just this side of the sky some to reduce parallax. Remove decodeNormF and uses of decode_normal in favor of unified use of getNorm (try to help the Intel HD x000 compiler learn to link correctly).
2019-01-25SL-10303, SL-10414Graham Linden
Fix positioning of sun/moon discs w.r.t atmo haze glow. Disable killing glow when sun is not up.
2019-01-25SL-10303Graham Linden
Modify sun disc shader to better position itself within the sun glow and to fade as the sun approaches the horizon (to mask where the position difference is greatest).
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.
2019-01-24SL-10281Graham Linden
Use clamp on dot product of view and light norm to eliminate 2nd halo.
2019-01-24SL-10282Graham Linden
Use clamping on dot product to determine halo TCs to fix abrupt cutoff at dot == 0. Ifdef around engaging advanced atmo which is not ready for primetime yet.
2019-01-04Convert to using shared shadow sampling function (reduce duplicated code ↵Graham Linden
blocks in several shaders).
2019-01-03Fix per-frag fullbright soft clip convenience funcs to include additive and ↵Graham Linden
atten args.
2018-12-06De-duplicate deferred gbuffer access for getPosition/getNorm.Graham Linden
De-duplicate ambient occlusion shader code and move to new aoUtil.glsl Split shared shadow tap funcs into shadowUtil.glsl
2018-12-05Shader cleanup and consolidation of use of sRGB conversion funcs.Graham Linden
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-10032Graham Linden
Plug more holes through which env ambient terms were finding their way into lighting calcs for HUDs. Fix up mismatched indenting (tabs v spaces) on several shaders.
2018-11-15SL-10066 and SL-10067Graham Linden
Fix fullbright transport transposed args and use display gamma for post-deferred gamma correction.
2018-11-14Work around broken deps on atmospheric vars in the frag-based deferred ↵Graham Linden
lighting pipe.
2018-11-12SL-10044 SL-10045Graham Linden
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders. Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
2018-11-09Add missing new shader files.Graham Linden
2018-11-09Back out changes causing broken shadows and other render shenanigans.Graham Linden
2018-11-06Move to using a shared deferredUtil object for getting pos/norm from gbuffer.Graham Linden
Eliminate 20+ callsites with copy-paste of getPosition and/or getNorm code. Make pipeline use getShadowTarget/releaseShadowTarget consistently.
2018-11-06Remove scaleDownLight funcs and eliminate unused copy-pasted funcs in ↵Graham Linden
lighting shaders. Also fix terrain response to atmospherics shaders (was failing to apply ambient on low end even when atmospherics was on).
2018-11-01SL-9994Graham Linden
Make shaders use consistent naming and parameter order for transport and atmospheric helpers. Share transport and gamma correction code where possible. Add lots of asserts and other validation for when things don't go as planned. Engage dumpShaderSource to get more source output with shader compilation fail.
2018-11-01Back out unintended shader changes from SL-10000 fix.Graham Linden
2018-11-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-10-30SL-9966Graham Linden
Port over transport, gamma, atmospherics shader stub updates for per-fragment atmospherics. Fix bindings of current/next noise map when current and next are the same (select only one and force blend factor to 0).
2018-10-19SL-9928Graham Linden
De-hackify WL additive to get better match between ALM and non-ALM rendering without bringing back SL-1491 lens flare bug.
2018-10-10Remove unused uniforms from atmospherics helper shaders.Graham Linden
2018-10-10Remove some unused atmospherics helpers and forward declarations of unused ↵Graham Linden
helper funcs.
2018-10-10Move moisture/ice/droplet radius controls to atmos tab instead of (hidden) ↵Graham Linden
density tab. Make frag shader version of vert WL shader to include rainbow/halo effect in non-advanced WL sky.
2018-10-09SL-1289Graham Linden
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-09-24SL-9711 modify clamping range on atmospheric additive color to balance ↵Graham Linden
between maintaining old look of WL settings and fixing SL1491 lens flare bug