summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
AgeCommit message (Collapse)Author
2018-12-03SL-10055Graham Linden
Modify handling of directional light to prefer sun when it is up but use moon dir/color when it is alone in the sky. Modify handling of shader in shaders to get some shadowing of ambient and nighttime shadowing.
2018-11-19SL-10032Graham Linden
Plug more holes through which env ambient terms were finding their way into lighting calcs for HUDs. Fix up mismatched indenting (tabs v spaces) on several shaders.
2018-11-15SL-10066 and SL-10067Graham Linden
Fix fullbright transport transposed args and use display gamma for post-deferred gamma correction.
2018-11-14Work around broken deps on atmospheric vars in the frag-based deferred ↵Graham Linden
lighting pipe.
2018-11-12SL-10044 SL-10045Graham Linden
Fix class 1 and 2 transport/gamma funcs and made usage consistent across all shaders. Fix class1\environment\waterV reverting to old d1/d2 names for wave directions.
2018-11-09Add missing new shader files.Graham Linden
2018-11-09More incremental revive of 39561 contents to determine cuplrit.Graham Linden
2018-11-09Yes, Maurice, baby steps.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-06Remove scaleDownLight funcs and eliminate unused copy-pasted funcs in ↵Graham Linden
lighting shaders. Also fix terrain response to atmospherics shaders (was failing to apply ambient on low end even when atmospherics was on).
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-11-01Back out unintended shader changes from SL-10000 fix.Graham Linden
2018-11-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-10-30SL-9976 change moon blend/brightness handling in shaders and cleanup ↵Graham Linden
extraneous GL state management.
2018-10-30SL-9966Graham Linden
Port over transport, gamma, atmospherics shader stub updates for per-fragment atmospherics. Fix bindings of current/next noise map when current and next are the same (select only one and force blend factor to 0).
2018-10-22SL-9806Graham Linden
Get dome rendering to not assert the depth test state behind deferred render's back. Make clouds write and test depth to give stars something to depth test against. Add z-bias in star vert shader to force some depth testing of stars against clouds.
2018-10-19SL-9928Graham Linden
De-hackify WL additive to get better match between ALM and non-ALM rendering without bringing back SL-1491 lens flare bug.
2018-10-16SL-1289 take two at providing cloud variance to break up tiling monotonyGraham Linden
2018-10-10Remove unused uniforms from atmospherics helper shaders.Graham Linden
2018-10-10Remove some unused atmospherics helpers and forward declarations of unused ↵Graham Linden
helper funcs.
2018-10-10Fix names of WATER_BLUR_MULTIPILER.Graham Linden
Give wave direction uniforms more meaningful names in shaders. Add comments on glow size/focus conversions for clarity.
2018-10-10Move moisture/ice/droplet radius controls to atmos tab instead of (hidden) ↵Graham Linden
density tab. Make frag shader version of vert WL shader to include rainbow/halo effect in non-advanced WL sky.
2018-10-09SL-1289Graham Linden
add cloud_variance control for randomized perturbance of clouds to break up tiling monotony
2018-10-08SL-9751Graham Linden
Add optional moon brightness setting
2018-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
2018-09-24SL-9711 modify clamping range on atmospheric additive color to balance ↵Graham Linden
between maintaining old look of WL settings and fixing SL1491 lens flare bug
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-09-18SL-1176Graham Linden
Tweak position of sun in disc shader to better match the offset applied to the sun glow in atmospherics.
2018-09-17SL-9618Graham Linden
Remove extraneous linear to sRGB conversion causing underwater refracted screen tex to be brighter than it should be.
2018-09-17SL-1491 take two: fix non-ALM/class2 atmospherics additive artifactsGraham Linden
Modulate class1 softenLight atmospheric additive by specular.a (same fix as for class2). Clamp additive color to <= vec3(0.2) to avoid similar artifacts in non-deferred render path.
2018-09-14SL-9632 add uniform and code to supress atmospherics in all shaders that ↵Graham Linden
could be used by HUDs Make sky and cloud shaders use common scaleSoftClip implementation in gammaF.glsl
2018-09-14SL-1491Graham Linden
Fix name at top of the 3 softenLight shaders so we can differentiate which is in use when using nSight debug. Made class2 softenLightF shader modulate the atmospherics additive to only specular shading to fix lens flare on terrain etc.
2018-09-13Spruce up the non-ALM stars too.Graham Linden
2018-09-10Add copies of existing lighting shaders for advanced atmo path.Graham Linden
Enable advanced atmo by default. Disable nSight in settings.xml Remove MSVC debug pragmas.
2018-09-10Move fname back inside class loop. grumble stringstream grumble.Graham Linden
Fix sky depth-testing with advanced atmospherics.
2018-09-10Fixes for switching between atmospherics implementations on the fly.Graham Linden
2018-09-07Fix createDensityProfileLayer dropping passed in values.Graham Linden
Enable sky density panel to update advanced atmo precomputed textures. Take wild stab at appropriate ranges for density parameters in edit panel UI. Clean up debug-only code that isn't necessary anymore. Point autobuild at latest version of libatmosphere package.
2018-09-06Fix tex format mismatch between what libatmosphere was generating and what ↵Graham Linden
we were claiming to use in rendering. First pass at sky shader using libatmosphere sky radiance lookup. Add atmo density controls to ext daycycle floater tabs.
2018-09-04MergeGraham Linden
2018-09-048283/4 WIPGraham Linden
2018-09-04Make legacy star brightness setting convert to 0-512 range of new settings.Graham Linden
Make brightness scale in shader more linear and fix twinkling.
2018-09-04Merge and fix MAINT-9087 and MAINT-9084Graham Linden
2018-08-30MAINT-9064Graham Linden
Fix binding of current/next sun/moon textures. Remove redundant code in GLSLShader determination of tex uniform bindings. Unhack mix calls in sun/moon shaders to reverse sense of blending (was working around reversed bindings).
2018-08-23MAINT-9006Graham Linden
Make perspective projection consistent between ALM and non-ALM when drawing water (horizon matches). Make perspective projection consistent between ALM and non-ALM when drawing heavenly bodies (sun disc position matches). Make gamma correction of sun disc tex consistent between ALM and non-ALM rendering.
2018-08-09MAINT-8951Graham Linden
Remove moon_dir related shader code causing sunlight shadow artifacting.
2018-07-19Modify deferred sun disc and moon shaders to write all deferrred gbuffer ↵Graham Linden
channels and fix rendering issue from norm/spec channels during lighting.
2018-07-11Make sun/moon vert shaders use calcAtmospherics in hopes it will get OSX GL ↵Graham Linden
to link the shaders without complaining about unwritten varying vars.
2018-07-11Make moon/star rendering handle transitions between settings w defined ↵Graham Linden
textures and settings without better. Reverse direction of mix to match blend_factor values in stars shader.