summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/pointLightF.glsl
AgeCommit message (Collapse)Author
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).
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-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
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-06-20NORSPEC-277 WIP backout old-school normal permutationGraham Linden
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-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-01Merge vwr-dev-matGraham Madarasz
2013-05-01Fix up specular highlights and gamma correction for projectors.Dave Parks
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
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-01-25Linearize light source colors, and a bit of cook torrance fanciness.Geenz
2013-01-11Initial (largely complete) gamma correct rendering implementation.Geenz
2012-09-09Use a customized normalized gaussian specular term.Jonathan Goodman
2012-07-31merge up to latest viewer-developmentOz Linden
2012-06-22mergeDave Parks
2012-06-13MergeGeenz
2012-05-23MAINT-616 Much faster rendering of local lights when Lighting and Shadows ↵Dave Parks
enabled
2012-05-10Unpack X, Y, and Z within the light shaders. Also some missing bits from ↵Jonathan Goodman
terrainF and treeF.
2012-04-13merge changes for drtvwr-135Oz Linden
2012-03-26Merging latest changes for normalized blinn-phong.Jonathan Goodman
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
2011-08-19mergeDave Parks
2011-08-17add proper copyright and license headersOz Linden
2011-08-10SH-2238, SH-2223, SH-SH-2242 glVertexAttrib throughout main render pipeline ↵Dave Parks
complete, preview renders and debug displays still pending. Also fixed a render glitch and a crash (JIRAs listed).
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