Commit Graph

68 Commits (46e04fe273ce88c52c08a6417a01ec89bd4e89e9)

Author SHA1 Message Date
RunitaiLinden 46e04fe273 DRTVWR-559 Remove RenderReflectionProbeCount (which is bugged) and lean on RenderReflectionProbeLevel for preferences (which works). 2023-05-23 16:11:43 -05:00
RunitaiLinden 5d862c994c DRTVWR-559 Optimization pass on probe allocation and search. Incidental decruft. 2023-04-25 14:48:16 -05:00
RunitaiLinden 37eee397b7 DRTVWR-559 Add control for automatic reflection probes to advanced preferences and featuretable. Remove Reflections checkbox. Don't persist reflection probe volume display between sessions. Incidental decruft. 2023-04-18 19:11:38 -05:00
Dave Parks 4747392264 SL-19538 Nudge probe scheduler to unstick probes that are "complete". 2023-04-08 11:22:50 -05:00
Dave Parks 413ce656c8 SL-19538 Clear probes on sky setting slam. Better probe update prioritization. Incidental decruft. 2023-04-07 14:10:53 -05:00
Dave Parks de73cf7599 SL-19538 Remove clouds from irradiance maps and don't conflate max probe samples with max probe neighbors, and don't move manual probes after they are complete (removes flickering around Sponza). 2023-04-07 11:06:09 -05:00
RunitaiLinden 1f79379bf2
SL-19538 Followup -- tune exposure parameters and clamp local light ambiance. Make render targets 16F and scrube NaNs (thanks Rye). Update midday. (#154) 2023-04-05 11:55:51 -05:00
RunitaiLinden 698966f8e7
SL-19538 Remove hacky ambiance scale and take the mittens off probe a… (#151)
* SL-19538 Remove hacky ambiance scale and take the mittens off probe ambiance values.  Fix for sky brightening being done in sRGB space.
2023-04-04 10:29:12 -07:00
Dave Parks 70bdf55439 SL-19517 Followup -- fix broken fallback probe. Adjust water brightness. 2023-03-30 16:24:04 -05:00
Dave Parks e8114dbe14 SL-19517 Fix for RenderReflectionProbeCount other than 256 causing black reflections. 2023-03-30 14:53:01 -05:00
Dave Parks b5917fbd16 DRTVWR-559 Reduce probe flashing and exposure flickering. 2023-03-30 13:14:23 -05:00
Dave Parks 6162b9208a DRTVWR-559 Add RenderAutomaticReflectionProbes control. Tweak automatic exposure. 2023-03-30 10:41:04 -05:00
Dave Parks 8c7c4c424d DRTVWR-559 Quality pass -- Fix sky banding, fix off-by-one-mip in reflection 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-22 10:38:24 -05:00
Dave Parks 14293833c9 DRTVWR-559 Fix for GL error on Intel Iris GPU. 2023-03-13 10:45:37 -05:00
Dave Parks 29b3727b8c SL-19355 Irradiance rebalance. 2023-03-07 14:06:01 -06:00
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