summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
AgeCommit message (Collapse)Author
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-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 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-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-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-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.
2018-07-10Support blending current/next bloom textures in deferred star rendering.Graham Linden
2018-07-10Fix star rendering issues in ALM.Graham Linden
2018-07-03Fix deferred stars shader output decl.Graham Linden
2018-07-03MAINT-8838 render a sun disc if the texture(s) are provided by WL settings ↵Graham Linden
(default is no sun disc and just haze) Refactor sky texture optimization to retain building the cubemap used by shiny.
2018-06-30MAINT-4019 fix ALM star rendering (make post-deferred and actually blend)Graham Linden
2018-06-27Make distinct ALM moon shader, tweak mix factor for day vs night moon ↵Graham Linden
shading, and fix transposed name of daycycle func.
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-06-12Fix env panel forward action.Graham Linden
Make env panel update environment when jumping frame to frame. Add separate funcs for sun/moon vectors in various coord systems. Make haze glow only pay attention to sun (i.e. fix sun glow when moon is near horizon in daytime).
2018-06-11Make cloud rendering use textures defined in sky settings and add code to ↵Graham Linden
shaders to lerp between current and next cloud texture.