summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/softenLightF.glsl
AgeCommit message (Collapse)Author
2019-01-04Convert to using shared shadow sampling function (reduce duplicated code ↵Graham Linden
blocks in several shaders).
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-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-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-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-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-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-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-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-03-09De-duplicate water fog code and modify programs to include the shared object ↵Graham Linden graham@lindenlab.com
as necessary.
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
2013-09-09Merge viewer-release 3.6.5 CocoaGraham Linden
2013-08-05NORSPEC-285 NORSPEC-293 NORSPEC-298 fix ighting diffs between ↵Graham Linden
alpha/non/ALM/non-ALM
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
2013-07-25NORSPEC-325 WIP restore gamma (uncorrected) attenuation and unify sRGB ↵Graham Linden
conversion in one place
2013-07-24NORSPEC-311 make post deferred (alpha objects) respect same gamma ramp as ↵Graham Linden
deferred (opaque objects)
2013-07-23NORSPEC-293 fix sRGB to linear conversion to not scrooge the darksGraham Linden
2013-07-23NORSPEC-285 NORSPEC-298 alpha vs diff color differencesGraham Linden
2013-07-21NORSPEC-315 NORSPEC-316 NORSPEC-312 fix various haze and gamma correction ↵Graham Linden
issues, alpha-blend objects still missing haze underwater
2013-07-11Merge with latest viewer-release.Geenz
2013-07-11NORSPEC-291 WIP materials underwater with haze, reflection broken, water ↵Graham Madarasz (Graham)
dist broken
2013-07-10NORSPEC-291 WIP materials underwater w and wo alpha, water fog color broken, ↵Graham Linden
no refl, no water dis
2013-07-02NORSPEC-287 Make alpha sRGB correction curves match OpenGL spec.Dave Parks
2013-06-20NORSPEC-277 WIP backout old-school normal permutationGraham Linden
2013-06-19Merge with viewer-release.Geenz
2013-06-13NORSPEC-261 No more magic numbers, parity between forward and deferred ↵Dave Parks
rendering WRT to windlight and legacy shininess. Reviewed by Graham (a little bit).
2013-06-13NORSPEC-261 Put back directional ambient.Dave Parks
2013-06-13NORSPEC-261 Better blending of environment map.Dave Parks
2013-06-13correct DOS line endingsOz Linden
2013-06-09NORSPEC-246 fix shader compile errors from missing returnGraham Madarasz
2013-06-09NORSPEC-246 fix issues with normal encoding on precision-deprived hardware ↵Graham Madarasz
and remove haxors
2013-06-09NORSPEC-246 WIP fix handling of encoded normals with single FP only cardsGraham Madarasz
2013-05-29NORSPEC-198, NORSPEC-176, NORSPEC-106, NORSPEC-202 et al -- Material matrix ↵Dave Parks
testing based overhaul WIP Reviewed by Graham
2013-05-23NORSPEC-198, NORSPEC-176, NORSPEC-106 WIP Fix for various fullbright/shiny ↵Dave Parks
descrepencies.
2013-05-17NORSPEC-187 Add directionality to ambient lighting.Dave Parks
2013-05-13Merged with https://bitbucket.org/lindenlab/viewer-betaGeenz
2013-05-02Merged lindenlab/viewer-development-materials into defaultgraham linden
2013-05-01Fix for sky being too bright with advanced lighting enabledDave Parks
2013-04-30Fix vwr-dev-mat merge bugs in llpanelface (missing Oz fix) and XMLGraham Madarasz
2013-04-29Merged with https://bitbucket.org/lindenlab/viewer-development-materialsGeenz