summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
AgeCommit message (Collapse)Author
2019-02-01SL-9996, SL-1130, SL-5546Graham Linden
Fix bug with setting texture matrix for rigged mesh. Fix z-fighting between sea and sky in ALM by cheating sky, stars, and moon using gl_FragDepth. Fix handling of atmospheric haze glow w.r.t independent sun/moon positioning (we can no longer depend on them being mutex to each other).
2019-02-01Roll back attempted fix for 9996 on ALM which has unacceptable knock-on effects.Graham Linden
2019-02-01Fix issue with OSX shader compiler not implementing #if correctly (nice job, ↵Graham Linden
Timmy).
2019-01-319996 partial fix (works for non-ALM rendering only)Graham Linden
Use a new edge water shader to allow forcing frag depth to avoid z-fighting at back edge of water edge pieces. This will not work for ALM because forcing the depth breaks the use of the depth to backproject gbuffer position which breaks lighting calcs.
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-9996Graham Linden
Force frag depth in water shaders to avoid z-fighting at back edge of water edge pieces.
2019-01-14SL-10355Graham Linden
Modify distortion vec calc in shader to account for modified range of reflection scale above/below.
2019-01-08MergeGraham Linden
2019-01-07SL-10304 fix handling of water normal map blending when both current and ↵Graham Linden
next textures are identical.
2018-12-05Shader cleanup and consolidation of use of sRGB conversion funcs.Graham Linden
2018-11-09More incremental revive of 39561 contents to determine cuplrit.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-11-01SL-9994Graham Linden
Make shaders use consistent naming and parameter order for transport and atmospheric helpers. Share transport and gamma correction code where possible. Add lots of asserts and other validation for when things don't go as planned. Engage dumpShaderSource to get more source output with shader compilation fail.
2018-09-19SL-1505Graham Linden
Prepend dir names to comments in water shaders to differentiate them in nSight captures. Fix calc of reflection camera modelview mats to properly reflect the environment.
2018-09-18SL-1475Graham Linden
Make stars use higher alpha and brighten reflected color before mixing to get stars to show up in reflections on water.
2018-06-13Mods to hook up water settings to water normals for rendering with support ↵Graham Linden
for current to next blending. Modify LLSettingsFoo::buildDefaultFoo to use a static and avoid re-validation of default sky/water/daycycle settings. Remove all references to gSun/MoonTextureId globals (they should come from sky settings now).
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-09-20MAINT-3172 fix rendering regressions from release mergedownGraham Linden
2013-09-18The unbearable lightness of being norspecGraham Linden
2013-08-11NORSPEC-341 fix issues with water reflection coloring and abnormalsGraham Linden
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-22MATBUG-306 fix alpha knock-on from underwater lightcurve matchingGraham Linden
2013-07-21NORSPEC-315 NORSPEC-316 NORSPEC-312 fix various haze and gamma correction ↵Graham Linden
issues, alpha-blend objects still missing haze underwater
2013-07-17NORSPEC-291 put back conversion to srgb in deferred water shaderGraham Linden
2013-07-17NORSPEC-291 fix materials underwater, disable attempt at materials in ↵Graham Linden
reflect/distort RTs
2013-07-15NORSPEC-291 first attempt at gamma correction of materials in reflectionsGraham Linden
2013-06-21Automated merge with file:///F:%5Cviewer-bearDave Parks
2013-05-10merge changes for 3.5.2-beta4Oz Linden
2013-05-09Merge downstream code and viewer-betasimon
2013-04-25NORSPEC-106 Fix for emissive mask overriding environment mask.Dave Parks
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-04MAINT-2371 More optimizations.Dave Parks
Reviewed by Graham
2013-02-07For MAINT-1255 Code Review: DavePGraham Madarasz
2012-06-13MergeGeenz
2012-05-10Encode viewspace Z normal to preserve negative Z (fixes all light shifting ↵Jonathan Goodman
errors, and shiny environment map errors due to lack of negative Z)
2012-02-14SH-2908 More complete GLSL 1.20 compatibility pass.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-10-21SH-2240 Fix for OSX GLSL compiler not liking #ifndef gl_FragDataDave 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-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.
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.