Commit Graph

53 Commits (f4182ddc7f7b7ee308f7edd378963b9b9cd2a2b4)

Author SHA1 Message Date
Dave Parks bc7856098f SL-19281 Unify handling of haze and gamma between fullbright and not and move haze back to sRGB color space to stay consistent with sky colors. Also fix broken "roughness" stuck at 0.2. 2023-03-02 16:36:03 -06:00
Dave Parks d5e558fffc SL-19277 Fix for fallback probe sometimes getting occluded and making void water dark after teleport. Never default to having reflections off. 2023-02-28 08:49:15 -06:00
Dave Parks e5a2f85005 SL-19226 Reimplement water fresnel offset/scale, exposure balance for midday, adjust reflections off, and decruft depth buffer error correction shenanigans that are no longer used. 2023-02-27 16:53:56 -06:00
Dave Parks e5e94b5fa8 DRTVWR-559 Fix for irradiance maps going black at 128x128 radiance map resolution. Improve radiance map anti-aliasing and default to 128x128 everywhere. 2023-02-23 11:47:24 -06:00
Dave Parks 65d69ce80d DRTVWR-559 Fix for stall in probe occlusion culling and fix for culled neighbors getting sampled (badly). 2023-02-22 11:01:18 -06:00
Dave Parks 19f7497d9a DRTVWR-559 WIP -- occlusion culling for reflection probes -- has a defect for objects close to the camera at some angles and leaks query objects, will follow up. 2023-02-21 20:42:25 -06:00
Dave Parks cd0944caa6 SL-19239 Redo integration of Sascha's radiance map filter. 2023-02-17 14:55:06 -06:00
Dave Parks 74275f590e SL-18927 Warn *before* destroying content, not after. Followup from last commit -- immediately apply scale to sphere probes. 2023-02-15 14:47:33 -06:00
Dave Parks fa1d6066a1 SL-19220 Have manual sphere probes live-track their associated LLViewerObjects 2023-02-15 12:06:57 -06:00
Dave Parks 0a2cd5a302 DRTVWR-559 Quick fix for radiance map filter using wrong resolution parameter. 2023-02-08 10:28:15 -06:00
Dave Parks 055883beb5 SL-18780 Turn down contribution of cloud shadow to reflection probe ambiance and make the value a debug setting. 2023-02-07 12:59:38 -06:00
Dave Parks 4259ea7953 SL-19150 Fix for stuttering real-time reflection probes. 2023-02-03 11:34:11 -06:00
Dave Parks c9d56e212a SL-19015 Balance sun/sky ambiance with punctual light ambiance. Prevent irradiance maps from being brighter than the environment. 2023-01-31 15:01:05 -06:00
Dave Parks 10b8dcc497 SL-19015 Bump probe resolution back to 256 by default (drop to 128 if vram < 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-30 18:56:19 -06:00
RunitaiLinden 3ef31cb9b2
SL-19203 et al -- Integrate SSR with reflection probes, tweak probe 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-27 17:24:22 -06:00
RunitaiLinden 7bd9d21e19
Optimizations, decruft, and intel compatibility pass (#53)
SL-18869, SL-18772  Overhaul VBO management, restore occlusion culling, intel compatibility pass, etc
2023-01-19 09:13:45 -06:00
Dave Parks 4711241dd5 SL-18731 Fix for runaway feedback loops on reflection probe ambiance 2022-12-16 13:57:31 -06:00
Dave Parks d0af1ca7cb SL-18780 Feedback cloud coverage into reflection probe ambiance to recover legacy behavior of cloud coverage brightening ambient lighting without destroying the ability to have good probe driven ambiance. 2022-12-16 13:35:16 -06:00
Dave Parks ed2b768da2 SL-18745 Fix for assert on teleport. 2022-12-02 09:56:42 -06:00
Dave Parks dc4f65a2ec SL-18745 Fix for LLVertexBuffer assertion on shutdown. 2022-11-30 14:22:10 -06:00
Jonathan Goodman 97277e74a9 Merged in SL-18332 (pull request #1194)
First pass of Screen Space Reflections

Approved-by: Dave Parks
2022-11-14 18:12:22 +00:00
Dave Parks dafa933043 SL-18190 Fix for mystery circle showing up on east side of reflection probes. Add one probe to rule them all as a fallback for pixels that aren't inside any influence volume. 2022-10-11 16:33:51 -05:00
Dave Parks 9448db5d4a SL-18190 Water shader WIP. Better parallax correction for sphere probes. Reduce probe memory footprint. Remove framebuffer copies and move to deprecate stencil buffer usage. 2022-10-06 18:40:01 -05:00
Dave Parks 1900df3615 SL-18293, SL-18190 -- Fix for debug displays not showing up (wireframe still busted). WIP on reflection probe/PBR driven water shader. 2022-10-04 12:20:19 -05:00
Dave Parks 64cfcea3f4 SL-18190 Reduce banding - experiment with RGB16F reflection probes 2022-09-23 18:13:20 -05:00
Dave Parks e5d463ca20 SL-17705 Backwards compatibility pass. Support OpenGL pre-4.0 by disabling reflection probes and anti-aliasing. Get render parity with current release viewer when reflection probes are disabled. 2022-09-22 17:27:18 -05:00
Dave Parks c466e44334 SL-18190 Reduce banding (stay in linear space as much as possible, increase precision of reflection probes). Faster radiance and irradiance map generation. 2022-09-20 19:09:26 -05:00
Dave Parks 1eeee12ecb SL-18190 Don't allocate mips for irradiance maps because they're never generated. Disable OpenGL core profile on Intel by default. 2022-09-20 12:28:45 -05:00
Dave Parks d3b4c4aece SL-18190 Don't generate mips for irradiance maps because they're never sampled. 2022-09-19 19:07:34 -05:00
Dave Parks 04d3a29a69 SL-18190 Faster better stronger radiance/irradiance maps 2022-09-19 17:27:33 -05:00
Howard Stearns 765a99d238 Merged in SL-17967 (pull request #1113)
SL-17967 require 4.1 core profile
2022-09-09 18:47:16 +00:00
Rye Mutt ef98be881c Use an SRGB buffer for initial reflection map capture for proper linear sampling
Fix irradiance gen up vector to be properly normalized
2022-09-01 17:30:48 -04:00
Howard Stearns 3cf349c4fa Merge branch 'DRTVWR-559' of bitbucket.org:lindenlab/viewer into SL-17967 2022-09-01 13:38:59 -07:00
Howard Stearns 2082443220 SL-17967 - Git rid of ARB that is in core 2022-09-01 10:58:27 -07:00
Dave Parks c9f893b100 SL-18065 WIP -- Adjust max virtual size to keep debug floater readable. Make assert on shutdown less frequent (still not gone, likely race condition). Fix unrelated assertion in reflection probes. 2022-08-31 11:36:00 -05:00
Dave Parks 9c6b197b3e SL-18037 Workaround AMD driver bug (drop reflection probe count to 16 on amd) 2022-08-29 18:46:48 -05:00
Brad Kittenbrink 7ab3e7cde3 clang compatibility fixes for llreflectionmapmanager.cpp and llvovolume.h 2022-06-23 22:53:55 -07:00
Dave Parks 6540b4c480 SL-17600 Cubemap filter tuning. 2022-06-22 19:56:26 -05:00
Dave Parks d0d1b832d4 SL-17600 Proper irradiance probes. 2022-06-22 13:25:50 -05:00
Dave Parks 31e2fa5e50 SL-17600 WIP -- Proper radiance maps (not just mipped cubemaps). 2022-06-21 22:44:30 -05:00
Dave Parks fb5ff6a538 SL-17287 Slightly less hacky and much less crash cube snapshot render target allocation. 2022-06-17 14:05:18 -05:00
Dave Parks 929abcd296 SL-17523 Add reflection probe ambiance to windlight settings and integrate with UI and ReflectionMapManager 2022-06-10 16:36:38 -05:00
Dave Parks 509476f95e SL-17574 Add probe detail combo box to advanced graphics preferences. Fix spot light shadows not working in probes. 2022-06-10 01:13:41 -05:00
Dave Parks 220afbcda0 SL-17285 Add proper reflection probe support to LLVOVolume, LLPrimitive, and LLPanelVolume 2022-06-02 18:42:38 -05:00
Dave Parks 3b3d3d88d1 SL-17287 Don't update reflection probes when PBR is disabled. 2022-05-24 11:38:23 -05:00
Dave Parks 6eaf8521ab SL-17287 Instrument and optimize cubemap render. Fix for cubemap snapshots doing a full resolution render instead of a 512x512 render. 2022-05-20 19:05:28 -05:00
Dave Parks 096ad1306d SL-17286 Only update reflection probe UBO once per pipe flush 2022-05-19 22:36:03 -05:00
Dave Parks 3564b24e2a SL-17286 Reflection probe alpha/fullbright support. 2022-05-19 22:24:41 -05:00
Dave Parks 02fb1bd610 Make reflection probe ambiance controllable by a saved setting 2022-05-18 23:51:06 -05:00
Dave Parks 63878a60eb SL-17416 Box reflection probe influence volumes 2022-05-18 23:09:57 -05:00