summaryrefslogtreecommitdiff
path: root/indra/llrender
AgeCommit message (Collapse)Author
2019-02-04SL-10461Graham Linden
Pass projector ambiance as the .w element of the light_attenuation uniform so that alpha shader can emulate the behavior of proper spot projectors.
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-01Remove one more piece of attempted 9996 fix on ALM.Graham Linden
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-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-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-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-26MergeRider Linden
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-10Move fname back inside class loop. grumble stringstream grumble.Graham Linden
Fix sky depth-testing with advanced atmospherics.
2018-09-10Pull fname out of class loop so we can see which actual shader file we were ↵Graham Linden
trying to load while debugging.
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-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-03MergeRider Linden
2018-07-26MAINT-8923 Better allocation failure handling, createGLTexture crashesandreykproductengine
2018-07-10Make advanced atmo sky shader compile again.Graham Linden
Make atmospheric model avoid redundant work when settings don't change. Point autobuild.xml at libatmosphere with op== to compare density profiles.
2018-06-29MAINT-8817 remove automatic update of inv_proj matrix so sunLightF which ↵Graham Linden
expects it not to match the projection mat works again Fix misspellinging in missing settings asset notification string Fix moon quat conversion to get proper directional rotation Add early out so attempting to set parcel env settings doesn't crash
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-05EOL in llsetingssky.cpp and llrender.cpp. const on ptr_t & in llenvironmentRider 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-01Merge to 5.1.6Graham 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-31MergeRider Linden
2018-05-23MergeGraham Linden graham@lindenlab.com