summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2
AgeCommit message (Collapse)Author
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
2018-09-17SL-1491 take two: fix non-ALM/class2 atmospherics additive artifactsGraham Linden
Modulate class1 softenLight atmospheric additive by specular.a (same fix as for class2). Clamp additive color to <= vec3(0.2) to avoid similar artifacts in non-deferred render path.
2018-09-14SL-9632 add uniform and code to supress atmospherics in all shaders that ↵Graham Linden
could be used by HUDs Make sky and cloud shaders use common scaleSoftClip implementation in gammaF.glsl
2018-09-14SL-1491Graham Linden
Fix name at top of the 3 softenLight shaders so we can differentiate which is in use when using nSight debug. Made class2 softenLightF shader modulate the atmospherics additive to only specular shading to fix lens flare on terrain etc.
2018-08-09MAINT-8951Graham Linden
Remove moon_dir related shader code causing sunlight shadow artifacting.
2018-06-12Fix env panel forward action.Graham Linden
Make env panel update environment when jumping frame to frame. Add separate funcs for sun/moon vectors in various coord systems. Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
2018-06-11Make cloud rendering use textures defined in sky settings and add code to ↵Graham Linden
shaders to lerp between current and next cloud texture.
2018-06-11Fix water fog consolidation in underwater shaders.Graham Linden
Add plumbing facilities to allow current and next moon textures to be passed to moon shader. Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-01Modify use of sky settings, reduce complexity, and name funcs to indicate ↵Graham Linden
coord systems in use. Fix class2 softenLightF shader.
2018-04-20Move class3 sky/cloud shaders to where they need to be to get picked up by ALM.Graham Linden graham@lindenlab.com
Modify autobuild.xml to use new libatmo w/ state save/restore fixes (addresses font render glitch). Put in nSight debug support.
2018-03-12De-duplicate deferred shader code for atmospherics and transport.Graham Linden graham@lindenlab.com
2018-03-12De-duplicate shader code for encoding and decoding normals to/from gbuffer ↵Graham Linden graham@lindenlab.com
format.
2018-03-12De-duplicate sRGB conversion funcs from many shadersGraham Linden graham@lindenlab.com
and unify on using the version that works on OSX. Add more logging to shader loading about fallbacks and loading succcess. Add frag shaders for sharing sRGB and normal encode/decode via GL shader linkage.
2018-02-18Atmospherics WIPGraham Linden graham@lindenlab.com
libatmosphere integrated in indra/llrender/llatmosphere.cpp Still working on runtime shaders to use libatmosphere precomputed atmospherics textures
2017-09-14MAINT-7129 - [Project Alex Ivy][MAC] Materials and ALM shaders broken in Mac ↵ruslantproductengine
viewer FIXED
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-09-03Ensure projectors with shadows have the same mip level calculation as ↵Geenz
without shadows.
2014-09-03Switch back to texture2dSpecular with a custom falloff dependent upon LOD.Geenz
2014-09-03Switch to using texture2DLodDiffuse for reasons of having a nice soft edge ↵Geenz
for less glossy projector reflections. This makes far more sense than having the “spot” functionality, and opens projectors up to much more practical use cases and fits much better within the concept of glossy reflections than the previous spot behavior.
2014-08-21Removal of commented out code.Geenz
2014-08-07Code cleanup for BUG-6898Geenz
2014-08-07Glossy reflections for projectors.Geenz
2014-08-06Fix for BUG-6895.Geenz
This brings projector reflections more in line with the originally intended behavior of environment reflections.
2013-09-18The unbearable lightness of being norspecGraham Linden
2013-09-09Merge viewer-release 3.6.5 CocoaGraham Linden
2013-09-09Merge viewer-releasesimon
2013-09-05NORSPEC-360 fix issues with mip selection and TCs in projector fake env ↵Graham Linden
reflection
2013-07-30NORSPEC-314 rollback unified srgb shader code to see if we can get past Mac ↵Graham Madarasz (Graham Linden)
10.6.8 nV driver issues