summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
AgeCommit message (Collapse)Author
2019-02-06SL-10478Graham Linden
Fix side-effects of having both sun and moon as potential directional light contributors. We pass an int to the shader indicating which to prefer instead of making per-pixel decisions and pass the moonlight color/di independently. Obsolete llsettingssky fade color which was unused elsewhere and cached for no reason.
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-01-30Eliminate helper GLSL modules depending on further GLSL modules to give ↵Graham Linden
Intel HD x000 compiler a fighting chance. More WIP for edge-specific water shader for 9996.
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).
2019-01-24SL-10276Graham Linden
SL-9851 Fix cloud shaders to ignore clouds when cloud_scale is 0. Fix creation of heavenly body geo to avoid degenerate vector math and not randomly flip orientation when crossing zenith. Add sun_up_factor to eliminate sun glow around moon when sun is down.
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-15Remove compilation and linkage of deferredUtil and indirect GLSL helper ↵Graham Linden
objects (current source of Intel ig4icd driver crash).
2018-11-09Add missing new shader files.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-01SL-10000 fix storing of ambient value when converting legacy settingsGraham Linden
2018-10-29SL-9977Graham Linden
SL-9973
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-10-05SL-1925Graham Linden
More settings for rainbow/halo atmospheric effects, final default asset UUIDs, and shader mods.
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-08-16MAINT-3699 new shaders supporting alpha blend/mask rigged content.Graham Linden
Make shader loading debug logging of uniforms use ShaderUniform to make supression simpler.
2018-06-26Fix OSX bug from OLD_SELECT GLSL work-around define not being used with ↵Graham Linden
automatically linked feature shaders. Add LL_RELEASE_FOR_DOWNLOAD ifdef around launcher nag. Fix OSX 10.14 SDK compile issue from unused var in scroll list.
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.
2018-06-11Fix water fog consolidation in underwater shaders.Graham Linden
Add plumbing facilities to allow current and next moon textures to be passed to moon shader. Modify moon shader to blend between current and next moon textures by blend factor.
2018-06-08Add specific shader for the moon to allow different rendering at day vs night.Graham Linden
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
2018-06-05Fix sunlight != sunlight_color_copy and remove hack disable of clouds.Graham Linden
2018-06-01Code cleanup and move to using typedefs of S64Seconds/F64Seconds for ease in ↵Graham Linden
sync w/ sim side which has not llunits types.
2018-06-01Fix mis-merge of LLSettingsBase and remove optimize pragmas.Graham Linden
2018-06-01Modify use of sky settings, reduce complexity, and name funcs to indicate ↵Graham Linden
coord systems in use. Fix class2 softenLightF shader.
2018-05-18Remove MSVC debug pragmas and comment out code to dump example grids.xml ↵Graham Linden graham@lindenlab.com
file w/ hard-coded grids.
2018-05-01Le MergeGraham Linden graham@lindenlab.com
2018-04-20Remove optimize pragmas necessary for working with RWDI in MSVC, but toxic ↵Graham Linden graham@lindenlab.com
to Clang.
2018-04-20Move class3 sky/cloud shaders to where they need to be to get picked up by ALM.Graham Linden graham@lindenlab.com
Modify autobuild.xml to use new libatmo w/ state save/restore fixes (addresses font render glitch). Put in nSight debug support.
2018-03-12De-duplicate deferred shader code for atmospherics and transport.Graham Linden graham@lindenlab.com
2018-03-12Remove optimize pragma.Graham Linden graham@lindenlab.com
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-02-18Atmospherics WIPGraham Linden graham@lindenlab.com
libatmosphere integrated in indra/llrender/llatmosphere.cpp Still working on runtime shaders to use libatmosphere precomputed atmospherics textures
2017-10-04Rename uniform "sunlight_color_copy" to sunlight_color in shader.Rider Linden
2017-09-26Clouds still funky but better.Rider Linden
2017-09-18MAINT-7813 - 3D rendering broken on Windows in build 508618. 3D rendering ↵ruslantproductengine
starts before 2D login screen is cleared. FIXED
2017-09-14replace a 'continue' with an 'else'Oz Linden
2017-09-14MAINT-7129 - [Project Alex Ivy][MAC] Materials and ALM shaders broken in Mac ↵ruslantproductengine
viewer FIXED
2016-07-18Backed out changeset: 5fe5ad059c05ruslantproductengine
2016-05-23Automated merge with tip of viewer-releasecallum_linden
2016-05-13Add invert texture coordinates for media textures.ruslantproductengine
2016-03-07make shader loading messages LL_DEBUGSOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-11-10merge changes for 3.7.20-releaseOz Linden