summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.h
AgeCommit message (Collapse)Author
2023-07-12SL-19567: Add option RenderGlowNoise for low precision glow dithering, ↵Cosmic Linden
enabled by default
2023-06-11Merge branch 'DRTVWR-559' into DRTVWR-583-glossy-ssrJonathan "Geenz" Goodman
2023-06-01DRTVWR-559 Revert skies to be very close to release and disable tone mapping ↵RunitaiLinden
when probe ambiance is zero. Hack for desaturating legacy materials has been removed for performance and quality reasons. Adds a new setting for auto adjusting legacy skies. This is the PBR "opt out" button. If disabled, legacy skies will disable tonemapping, automatic probe ambiance, and HDR/exposure. If enabled, legacy skies will behave as if probe ambiance and HDR scale are 1.0, and ambient will be cut in half. HDR scale will act as a sky brightener, but will automatically adjust dynamic exposure so the sky will be properly exposed. If you want relatively even exposure all the time, set HDR Scale to 1.0. If you want a high range of exposures between indoor/dark areas and outdoor/bright areas, increase HDR Scale. Also tuned up SSAO (thanks Rye!). Reviewed with Brad.
2023-05-26Addressing some performance related feedback with SSR getting drastically ↵Jonathan "Geenz" Goodman
slower. DRTVWR-559 DRTVWR-583
2023-05-22Merge branch 'DRTVWR-559' into DRTVWR-583Jonathan "Geenz" Goodman
2023-05-17Add a binary cache for compiled shaders using glProgramBinary (#216)Rye Mutt
* Add a binary cache for compiled shaders using glProgramBinary * Add additional sanity checking to shader binary save and load, hook up cache clear and menu option * Fix default init of shader cache data struct and clear gl errors before glGetError calls --------- Co-authored-by: RunitaiLinden <davep@lindenlab.com>
2023-05-11Finally get glossy SSR up.Jonathan "Geenz" Goodman
DRTVWR-583
2023-03-28DRTVWR-559 Dynamically adjust exposure.Dave Parks
2023-02-27SL-19279: LLGLSLShader::bindXXX is not free. Pack the uniformsCosmic Linden
2023-02-24SL-19265: Fix precision issue with texture transforms by moving transform ↵Cosmic Linden
matrix calculation into the shader
2023-02-03SL-19148 Decruft some forward shaders and drawpools. Fix HUDs being in ↵Dave Parks
wrong color space.
2023-01-30SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < ↵Dave Parks
2GB), remove irradiance map feedback loop (one bounce, but but more stable and allows for much brighter first bounce), make sky contribution to irradiance not tint the world blue. Make irradiance that appears in radiance maps match world irradiance.
2023-01-27SL-19203 et al -- Integrate SSR with reflection probes, tweak probe ↵RunitaiLinden
blending. (#63) * SL-19203 WIP -- Integrate SSR with reflection probes. Decruft LLRenderTarget. * SL-19203 WIP -- Re-integrate SSR. Incidental decruft. * SL-19203 WIP -- SSR frame delta correction (still broken for Z) * SL-19203 WIP -- SSR frame delta Z fix * SL-19203 WIP -- Make SSR toggleable again and disable SSR in cube snapshots. * SL-19203 WIP -- Soften sphere probe transitions and fix reflections on void water (make fallback probe a simple terrain+water+sky probe). Remove parallax correction for automatic probes to reduce artifacts. * SL-19203 Tune probe blending. * SL-19203 Cleanup.
2023-01-20SL-18869 GL 3 compatibility pass and minor decruft.Dave Parks
2022-11-14Merged in SL-18332 (pull request #1194)Jonathan Goodman
First pass of Screen Space Reflections Approved-by: Dave Parks
2022-11-02SL-18485: Render GLTF materials with extension KHR_texture_transform with ↵Cosmic Linden
approprate texture transforms
2022-10-12SL-18190 Remove water reflection detail combo box and reimplement ↵Dave Parks
"Transparent Water" checkbox.
2022-09-28SL-18190 Prune srgb_to_linear from atmosphericsFuncs.glslDave Parks
2022-09-27SL-18190 WIP -- Take 2 on linear space windlight (more methodical approach ↵Dave Parks
-- make desired interface but brute force color conversions). Placeholder PBR water and move to deprecate forward rendering shaders.
2022-09-17WIP - switch PBR implementationsDave Parks
2022-09-13SL-17701 WIP -- Parity for point lights between opaque and transparent PBR ↵Dave Parks
materials
2022-09-01SL-17967 - Git rid of ARB that is in coreHoward Stearns
2022-06-28Add emissiveRect to softenLightF.glslDave Parks
2022-06-24SL-17274 Hook up emissive map and non-texture parameters to pbropaqueF.glslDave Parks
2022-06-23Merged DRTVWR-559 into SL-17274_view_dirMichael Pohoreski
2022-06-22SL-17600 Proper irradiance probes.Dave Parks
2022-06-21SL-17274: Add view_dir uniformPtolemy
2022-06-10SL-17523 Add reflection probe ambiance to windlight settings and integrate ↵Dave Parks
with UI and ReflectionMapManager
2022-05-16SL-17284 Reflection probe tuning and optimization take 1Dave Parks
2022-04-29SL-17282 prototype mixing of reflection map into legacy materialsDave Parks
2021-11-20SL-16289 Rigged mesh rendering overhaulDave Parks
2021-02-04DRTVWR-525, improve dev's quality-of-lifeDave Houlton
2019-07-23SL-11621Graham Linden
Remove all references to unused shader var global_gamma. Remove many unused decls for gamma from shaders. Make post-deferred gamma correction use display_gamma. Make setting display_gamma use the correct RenderDeferredDisplayGamma setting.
2019-04-10Separate out vertex program objects from fragment program objects and use it.Geenz
Given that mShaderObjects only ever expects one copy of a given shader object (leading to lots of "shaderV" and "shaderF"), it made having utility shaders a bit more difficult to incorporate. This change makes sure the two are separated. Using this over a multimap largely for readibility. Also, actually, you know, use this functionality. --HG-- branch : OPEN-340
2019-03-02SL-10664Graham Linden
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-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-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-10-29SL-9977Graham Linden
SL-9973
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-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-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-05-01Le MergeGraham Linden graham@lindenlab.com