summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl
AgeCommit message (Collapse)Author
2024-07-28Merge remote-tracking branch 'secondlife/release/2024.06-atlasaurus' into ↵Erik Kundiman
2024.06-atlasaurus
2024-06-17Fix shaders broken in mergeAnsariel
2024-06-141736 audit texture image unit usage on os x (#1739)Dave Parks
* #1736 Remove some unused samplers from glsl files and refactor shader manager to assume 16 texture image units and 4 indexed texture units all the time.
2024-06-14Merge branch 'release/maint-b' into marchcat/b-mergeAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl # indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl # indra/newview/app_settings/shaders/class3/deferred/softenLightF.glsl # indra/newview/llfilepicker.cpp
2024-06-11Clean up line endings that got mangled up during last mergeAnsariel
2024-04-21Fix sampling normals from gbuffer and cleanup redundant gbuffer samples (#1294)Rye Mutt
* Fix sampling normals from gbuffer and cleanup redundant gbuffer samples * Allow negative normals in gbuffer to fix broken material rendering
2024-04-19#1139 Fix for world going black/white in some scenes (NaNs) (#1273)RunitaiLinden
* #1139 Fix for world going black/white in some scenes (NaNs) NaNs were coming from normal encode/decode. Take advantage of available gbuffer space to send full normal instead of encoding. * #1139 Cleanup remove now unused encodeNormF.glsl * #1139 Remove final reference to encodeNormF * #1139 Fix for getNormalEnvIntensityFlags referencing wrong sampler for env intensity * Mac build fix
2024-04-15Fix broken shaders due to 72730609f371ae0417a2d117fdc9d805ce8858fbAnsariel
2024-03-12#965 Fix for EEP skies being too brightRunitaiLinden
2024-03-08HDRI Local Preview (#953)RunitaiLinden
* #926 WIP - HDRI import prototype v0 * #926 WIP -- add OpenEXR to autobuild.xml * #926 WIP -- Add OpenEXR cmake * #926 WIP -- Attempt at using OpenEXR autobuild package and don't hard code .exr file to load * #926 Unmangle autobuild.xml and get dll's in the right place (thanks, Caladbolg!) * implement mac shared libs plumbing for OpenEXR for secondlife/viewer#926 * Fix Xcode/clang compile error regarding new[]/delete[] mismatch * #926 HDRI Preview finishing touches. - Full ACES when HDRI is enabled - Fix for probes getting stuck paused - Add exposure and rotation controls --------- Co-authored-by: Brad Linden <brad@lindenlab.com>
2024-02-26#681 Start adding blending boilerplate.Jonathan "Geenz" Goodman
2024-02-08Update softenLightF.glslJonathan "Geenz" Goodman
2024-02-02#677 Move PBR mirror radiance mixing to reflectionProbeF so transparent PBR ↵RunitaiLinden
surfaces can be mirrors
2024-02-02#677 Fix terrain clipping and tweak hero probe mixing with radianceRunitaiLinden
2024-01-31#677 Some clipping WIPJonathan "Geenz" Goodman
2024-01-24https://github.com/secondlife/viewer-issues/issues/23 Fix for merge up to ↵Jonathan "Geenz" Goodman
the featurettes branch, and reflection probes being "hazy"
2024-01-24https://github.com/secondlife/viewer/issues/671 Wire up the RenderMirrors ↵Jonathan "Geenz" Goodman
debug setting.
2024-01-24Merge remote-tracking branch 'origin/release/materials_featurette' into ↵Jonathan "Geenz" Goodman
DRTVWR-583
2023-11-16SL-20611 Make haze effect local lights -- move sky and water haze to their ↵RunitaiLinden
own passes and unify sky and water haze in forward rendering shaders.
2023-10-16Merge branch 'DRTVWR-559' into DRTVWR-583Jonathan "Geenz" Goodman
2023-10-16Tons of masking changes and tweaks.Jonathan "Geenz" Goodman
We now support masking mirrors in the GBuffer. We also now support the concept of one arbitrary clip plane. DRTVWR-583
2023-10-11SL-20440 Fix for projector ambiance destroying PBR shading. Also fix ↵RunitaiLinden
longstanding bug with hard line in projector ambiance lighting. Incidental decruft of legacy_adjust and LOCAL_LIGHT_KILL, etc.
2023-09-25Merge branch 'DRTVWR-559' into DRTVWR-583Jonathan "Geenz" Goodman
2023-09-08Some more modes for mirrors to place the probe.Jonathan "Geenz" Goodman
DRTVWR-583
2023-09-06SL-19842 WIP -- Change how probe ambiance mixes with sky ambient.RunitaiLinden
2023-08-21Experiment with placement a bit when there's no drawable.Jonathan "Geenz" Goodman
DRTVWR-583
2023-08-06Making more progress, need to add the heroprobe manager.Jonathan "Geenz" Goodman
DRTVWR-583
2023-07-18Fix for irradiance breaking.Jonathan "Geenz" Goodman
Still need to fix the problem with individual faces getting tossed around though. Will work on that tomorrow. DRTVWR-583
2023-07-17Got hero probes rendering from the camera.Jonathan "Geenz" Goodman
DRTVWR-583
2023-06-27Just about got hero reflection maps working.Jonathan "Geenz" Goodman
DRTVWR-583
2023-06-14More performance addressing. Ditch glossy SSR on semi-transparent surfaces.Jonathan "Geenz" Goodman
SL-19784
2023-06-01DRTVWR-559 Rebalance PBR against Blinn-Phong.RunitaiLinden
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-23DRTVWR-559 Remove RenderReflectionProbeCount (which is bugged) and lean on ↵RunitaiLinden
RenderReflectionProbeLevel for preferences (which works).
2023-05-17SL-19655 Decruft legacy GLSL shaders and now unused build queues.RunitaiLinden
2023-04-18DRTVWR-559 Add control for automatic reflection probes to advanced ↵RunitaiLinden
preferences and featuretable. Remove Reflections checkbox. Don't persist reflection probe volume display between sessions. Incidental decruft.
2023-04-11DRTVWR-559 Make sunlight specular consistent with pointlight specular.Dave Parks
2023-04-11SL-19564 Rebalance exposure and sky. Hack legacy diffuse map saturation and ↵RunitaiLinden
brightness to allow ACES Hill all the time.
2023-04-06SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic ↵Dave Parks
exposure controls not persist, limit exposure range, and do a debug gl pass.
2023-04-05SL-19538 Followup -- tune exposure parameters and clamp local light ↵RunitaiLinden
ambiance. Make render targets 16F and scrube NaNs (thanks Rye). Update midday. (#154)
2023-04-04SL-19538 Remove hacky ambiance scale and take the mittens off probe a… (#151)RunitaiLinden
* SL-19538 Remove hacky ambiance scale and take the mittens off probe ambiance values. Fix for sky brightening being done in sRGB space.
2023-03-22DRTVWR-559 Quality pass -- Fix sky banding, fix off-by-one-mip in reflection ↵Dave Parks
probes (thanks Rye), remove noiseMap from light shaders (removes speckles), make irradiance maps RGB16F instead of RGBA16. Use actual luminance for sky instead of max color component during irradiance map pass.
2023-03-02SL-19281 Unify handling of haze and gamma between fullbright and not and ↵Dave Parks
move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2.
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-10-13SL-18340: Consolidate shared pbr shading into calcDiffuseSpecular, pbrBaseLightCosmic Linden
2022-10-07SL-18190 Move water shaders to class 3, add debug stub for underWaterF.glsl, ↵Dave Parks
make underWaterF and softenLightF apply water fog in linear space.
2022-09-30SL-18239 Unify PBR and non-PBR treatment of ambient/SSAO/irradiance. ↵Dave Parks
Restore SSAO to release version.
2022-09-29SL-18132 Fix for errant shadow when sun shadows are disabled.Dave Parks