summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/spotLightF.glsl
AgeCommit message (Collapse)Author
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.
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
2013-03-26NORSPEC-57, NORSPEC-58 Remove sRGB and gamma correction from shaders to ↵Dave Parks
remove banding and not break all shiny objects.
2013-02-22Fix for deferred rendering no longer working when the viewer is compiled ↵Geenz
against the OS X 10.7 SDK and up.
2013-01-11Linearize spotlight textures.Geenz
2012-05-24MAINT-616 Fix for broken projectors.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-09-24SH-2244 Fix for shaders not compiling on pre-GL-3.0 ATI driversDave Parks
2011-09-22SH-2244 Fix for artifacts with L&S enabled when using core profile.Dave 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