summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
AgeCommit message (Collapse)Author
2020-03-13SL-12005 Fix for projectors getting brighter when switching to single light ↵Runitai Linden
shader.
2020-02-04SL-12005, back out SRGB changes for projector spotlightsDave Houlton
Deferred spotlights were transitioned srdb->linear in commit 653133b The lights transition between the deferred and (some other) path at fixed camera distance, causing a distinct light-level pop. Backing out this change to avoid the pop. Note to the future: pick a light space at the beginning and stick with it.
2019-06-11SL-11370, SL-11372, SL-11337Graham Linden
Fix culling on Low+ water reflection pass. Make Mid+ / High use class1 deferred sky again (no rainbows, but faster!). Fix setting of cloud color for deferred sky/cloud shaders. Put water reflections back in wrong colorspace for consistency with release.
2019-05-23Add render debug controls for forcing disable of ambient, sun, and local ↵Graham Linden
light contributions (engages AMBIENT_KILL, SUNLIGHT_KILL, and LOCAL_LIGHT_KILL defines in shaders to accomplish those tasks as required by each render mode).
2019-05-22SL-10969Graham Linden
Fix linear attenuation on forward projector lighting. Revert setup of falloff to prev code. Revert deferred water spec and tweak refl/refr blend.
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-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).
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-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-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.
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-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-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 WIP move to per-pixel alpha lighting and make spot/point calcs ↵Graham Linden
match more closely
2013-07-11Merge with latest viewer-release.Geenz
2013-07-03NORSPEC-293 better fix incorporating srgb_to_linear curve and applying ↵Graham Linden
texture gamma corrections to spot inputs
2013-06-20NORSPEC-277 WIP backout old-school normal permutationGraham Linden
2013-06-19Merge with viewer-release.Geenz
2013-06-19Point light color (de)correction.Dave Parks
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-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-13Merged with https://bitbucket.org/lindenlab/viewer-betaGeenz
2013-05-01Merge vwr-dev-matGraham Madarasz
2013-05-01Fix up specular highlights and gamma correction for projectors.Dave Parks
2013-04-30Merge vwr-dev-mat againGraham Madarasz
2013-04-30Fix vwr-dev-mat merge bugs in llpanelface (missing Oz fix) and XMLGraham Madarasz
2013-04-29Fix any missing color space conversions where appropriate, tweak the sun's ↵Geenz
intensity to match pre-gamma correction results, and also mask spotlight specular by the projected texture.
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-04-19NORSPEC-139 Fix for non-fullscreen spotlight lighting mismatching fullscreen ↵Dave Parks
spotlight lighting
2013-04-18Mitigation for light attenuation looking different with gamma correction. ↵Geenz
Assume that light attenuation wants to be linearized before we apply gamma correction.
2013-04-18Use GL_SRGB8_ALPHA8 for the diffuse and specular buffers, and correct gamma ↵Geenz
*before* glow and other post processing effects that don't care about being gamma correct.
2013-04-17First pass of gamma correction reimplementation.Geenz
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.