summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/deferred/sunLightF.glsl
AgeCommit message (Collapse)Author
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-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-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-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-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 shader code for encoding and decoding normals to/from gbuffer ↵Graham Linden graham@lindenlab.com
format.
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-06-20NORSPEC-277 WIP backout old-school normal permutationGraham Linden
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-08Merged lindenlab/viewer-development-materials into defaultgraham linden
2013-05-07Fix for bad light map generation/sampling.Dave Parks
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-09Re-added RGB10_A2 normal buffer, this time encoded with a sphere map ↵Geenz
transform so we can store the environment intensity in the blue channel.
2013-04-02NORSPEC-58 Followup -- put back blinn phong, and do gamma correction ↵Dave Parks
approximation in light curves. Fix fresnel math.
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-08-16merge up to latest viewer-developmentOz Linden
2012-06-28Merge cleanupDave Parks
2012-06-28MergeDave Parks
2012-06-28merge up to 3.3.3-releaseOz Linden
2012-06-22MAINT-653 Fix for shadow acne at high altitudesDave Parks
2012-06-13MergeGeenz
2012-05-10Unpack X, Y, and Z within the light shaders. Also some missing bits from ↵Jonathan Goodman
terrainF and treeF.
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
missed a few spots: cleanup: get rid of the no-op 'mex' function in the shaders which was being used as a dummy replacement for 'mix'
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
cleanup: get rid of the no-op 'mex' function in the shaders which was being used as a dummy replacement for 'mix'
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
a bunch of trivial clean-ups and commentary.
2012-04-21STORM-1819: Ternary/graded shadow supportAdam Moss
Coalesced patchset.
2012-02-17SH-2915 Smoother transition between sun shadow splits.Dave Parks
2012-02-13SH-2908 Fix for shaders failing to compile when using GLSL 1.20 or 1.10 profile.Dave Parks
2012-02-10SH-2908 Rework indexed texture rendering to use a uvec4 instead of a float ↵Dave Parks
for texture indices in the data stream. Also rework gl_FragColor overrides to not collide with some odd driver implementations.
2011-11-11Assorted shader cleanup to remove a few warnings and errors for OS X.Leslie Linden
2011-09-24SH-2244 Fix for shaders not compiling on pre-GL-3.0 ATI driversDave Parks
2011-09-16SH-2243 work in progress -- don't use gl_FragColor or gl_FragData for ↵Dave Parks
outputs -- no more deprecation warnings on nvidia
2011-09-16SH-2243 work in progress -- don't use deprecated shader stateDave Parks
2011-08-24Mac rendering now with 100% fewer crashes when enabling shadows.Leslie Linden
2011-08-17add proper copyright and license headersOz Linden
2011-05-31SH-1682 Dynamically adjust the number of texture channels to use for indexed ↵Dave Parks
texture rendering based on available hardware.
2011-05-24SH-469 GL_ARB_texture_multisample supportDave Parks
2011-05-12SH-1521 update -- Lighting and Shadows grayed out on macLeslie Linden
* Disabled SSAO on macs with 8 or less texture units. * Slight cleanup of sunlight fragment shaders to remove unused texture units. Reviewed by davep
2010-10-06ATI compatibility passDave Parks
2010-08-30pull internationalization fixes from faulty splitOz Linden
2010-08-24Update GLSL shader sources to current $LicenseInfo$ standard.Nat Goodspeed
See https://wiki.lindenlab.com/wiki/License_Substitution for details.
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.