summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/multiSpotLightF.glsl
AgeCommit message (Collapse)Author
2019-05-02Roll back sRGB decode changes from contrib for now.Graham Linden
Fix direct light matching across alpha/blended-material/deferred. Get diffuse lighting to match from Low to Ultra.
2019-03-30Hide sRGB decode behind a flag, and make sure that sRGB decodes is strictly ↵Geenz
opt-in.
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-03-19SL-10764Graham Linden
Fix lighting issues when using shaders, but not ALM. Shader code cleanup (remove do nothing functions only in one file). Fix obsolete comment to refer to correct storage for projector ambiance.
2019-01-30WIP for 10374 (reduce number of shaders linking against deferredUtil).Graham Linden
Prepare for using ifdef to conditionally engage using gl_FragDepth in water shaders (because GL requires that writing to gl_FragDepth on any path means you need to write a depth value on every path).
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.
2018-03-09Fix warnings from shaders and include EXTRA_CODE_HERE sentinel in places ↵Graham Linden graham@lindenlab.com
using DEFINE_GL_FRAGCOLOR for consistency.
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-09Merge viewer-release 3.6.5 CocoaGraham Linden
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
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-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-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-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-19Cleanup specular highlights from spot lightsDave Parks
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-30Cleanup a couple more places where gamma curves were getting applied.Dave Parks