summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
AgeCommit message (Collapse)Author
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-22Make class3 light sum loop use light_diffuse[0] for sunlight_color instead ↵Graham Linden
of atmosAffectDirectionalLight with sunlight_color that isn't updated correctly.
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-20SL-10449Graham Linden
Fix name of attenuation setter used. Fix flipped light vec. Make class3 lights use shadows on projector ambiance too.
2019-03-20SL-10449Graham Linden
Make setting ALM from Mid through High graphics possible on OSX by fixing link error from softenLight shader. Set values to the atmos attenuation and additive color varyings to avoid warnerror from OSX GLSL compiler/linker.
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-15Make alpha drawpool optimizations an opt-in render debug setting for the ↵Graham Linden
adventurous.
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-12SL-10732Graham Linden
Fix accum of shadow weights and handling of clipped areas in spot shadow sampling.
2019-03-07Fix tabs.Graham Linden
2019-03-07SL-10618, SL-10698Graham Linden
Fix reflection/distortion map culling planes again. Fix broken handling of shadow disables in ALM forward shaders.
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-03-02MergeGraham Linden
2019-03-02SL-10664Graham Linden
2019-03-01Add a command line flag to prevent the viewer from launching the update ↵Rider Linden
checker. To use from debugger secondlife-bin->properties->Debugging->Command Arguments add "--skipupdatecheck"
2019-02-28Merge 6.1.1Graham Linden
2019-02-28MergeRider Linden
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-26Fix ifdef in alphaF.Graham Linden
2019-02-26Fix up ifdefs to make OSX shader compiler happy.Graham Linden
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-26MergeGraham Linden
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-25Disable nSight debug by default (breaks snapshots).Graham Linden
2019-02-25SL-9806Graham Linden
Remove fade effect on sun disc as it nears horizon (stars poke through).
2019-02-25SL-9806Graham Linden
Remove blend effect when sun disc nears horizon (was letting the stars show through).
2019-02-22SL-5186Graham Linden
Add ambiance handling to the light loop in the forward incarnation of materialF and tweak alphaF to match lighing of material alpha-blend objects and non-ALM rendering.
2019-02-22MergeGraham Linden
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-21MergeGraham Linden
2019-02-14SL-10552Graham Linden
Fix view-dependent peter-panning from incorrectly biased shadow pos offset.
2019-02-13SL-10181, SL-10546Graham Linden
Fix distortion map rendering in deferred mode not including underwater fog effects. Fix distortion map rendering not including post-deferred content at all. Fix distortion map rendering not including anything but sky when camera is underwater. Update sun_up_factor/sunmoon_glow_factor uniforms even when sun disc isn't in use.
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-10457Graham Linden
Make area beyond far split of directional light unshadowed again.
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-06SL-10461Graham Linden
Another attempt at getting approximage handling of projector ambiance in the alpha object shader. This will not be a perfect match for non-transparent objects but should be close enough.
2019-02-04SL-10461Graham Linden
Pass projector ambiance as the .w element of the light_attenuation uniform so that alpha shader can emulate the behavior of proper spot projectors.
2019-02-04SL-10459Graham Linden
Use gl_FragDepth on deferred sun disc to fix z-fighting with sky dome and get layering of sky/stars/sun/moon/clouds correct.
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-31Remove (now) unused decodeNormF GLSL shader.Graham Linden
2019-01-319996 partial fix (works for non-ALM rendering only)Graham Linden
Use a new edge water shader to allow forcing frag depth to avoid z-fighting at back edge of water edge pieces. This will not work for ALM because forcing the depth breaks the use of the depth to backproject gbuffer position which breaks lighting calcs.