Commit Graph

107 Commits (d4e9604700a1dbae3dbce58a3be0fda1465fd39c)

Author SHA1 Message Date
Cosmic Linden 6aa9110b2a secondlife/viewer#1883: Local-only PBR terrain paintmap with developer tools 2024-08-06 16:28:47 -07:00
Dave Parks 375555012f
1736 audit texture image unit usage on os x (#1739)
* #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-14 17:06:07 -05:00
Ansariel 1ebf62e102 Clean up line endings that got mangled up during last merge 2024-06-11 15:40:09 +02:00
Andrey Lihatskiy b06a99f7c7 Post-merge spaces fix 2024-05-15 12:47:27 +03:00
Andrey Lihatskiy bf1235b017 Merge branch 'marchcat/w-whitespace' into marchcat/x-mf-merge 2024-05-15 12:46:26 +03:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Brad Linden f1e9d13b99 Fixes for some shader compilation failures on mac.
* conditional compilation should use #ifdef
* layout keywords need to be lowercase
2024-02-23 14:11:31 -08:00
RunitaiLinden 78cc23f89c Merge branch 'release/materials_featurette' into materials_featurette/mirrors 2024-02-07 11:20:06 -06:00
Jonathan "Geenz" Goodman fac63e473a #684 Fix pixellation on mirrors regardless of mirror resolution. 2024-02-01 12:11:20 -08:00
Cosmic Linden 00c65b6270 secondlife/viewer-issues#43: Fix debug normals not rendering for terrain 2024-01-31 14:31:06 -08:00
Jonathan "Geenz" Goodman 348d427db6 Add a probe strength uniform for hero probes.
On standard reflection probes this doesn't really do anything.

DRTVWR-583
2023-08-29 05:08:47 -07:00
RunitaiLinden c827d32ebe SL-19655 Decruft legacy GLSL shaders and now unused build queues. 2023-05-17 18:09:36 -05:00
Jonathan "Geenz" Goodman 23365ca51a Fix for nameplates, HUD text generally.
DRTVWR-559
SL-19524
SL-19513
2023-04-12 16:58:15 -07:00
Jonathan "Geenz" Goodman 5bfae438fd Start scrapping screenTarget().
Makes our binding flow _far more_ predictable and makes way more sense.

DRTVWR-559
SL-19524
SL-19513
2023-04-08 20:18:15 -07:00
Dave Parks bb79718c8f SL-19538 Followup -- scrub all possible sources of NaNs, make dynamic exposure controls not persist, limit exposure range, and do a debug gl pass. 2023-04-06 13:21:25 -05:00
Jonathan "Geenz" Goodman b44ad50f75 Move glow extract to be after tonemapping.
SL-19513
2023-03-31 10:54:19 -07: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
Jonathan "Geenz" Goodman f3ce17701e Make sure the glow combine only happens in the gamma correct shader. 2023-03-13 08:05:33 -07:00
Brad Linden 3947bd13fd
Merge pull request #97 from secondlife/brad/DRTVWR-559
brad/drtvwr-559 mac shader and assert fixes
2023-02-28 10:33:37 -08:00
Brad Linden 78e7ada94b Mac shader and assertion fixes for DRTVWR-559 2023-02-27 17:35:24 -08: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
Jonathan "Geenz" Goodman 46b2c0660a Hammering on more mac optimizations.
SL-18563
2023-02-25 22:24:46 -08: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 cd0944caa6 SL-19239 Redo integration of Sascha's radiance map filter. 2023-02-17 14:55:06 -06:00
Dave Parks 4ea51c6ce4 SL-19148 Decruft followthrough -- kill more unused shader files 2023-02-03 19:53:43 -06:00
Dave Parks 1c2410b8af SL-19148 Decruft followthrough -- decruft shader tree and some remaining forward rendering code. 2023-02-03 19:45:31 -06:00
Dave Parks 6f136d403b SL-19000 Fix various 3D UI components not respecting depth buffer. Incidental decruft. Do I get a prize for 1000th jira? 2023-02-01 17:09:34 -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
Dave Parks c2fef4b588 SL-19015 Boost brightness of irradiance maps. 2023-01-20 15:48:06 -06:00
Brad Linden c6ea8f9c82 Fix shader syntax error on mac for DRTVWR-559 2023-01-10 15:10:25 -08:00
Dave Parks a2d17d3c1e SL-18869 Optimizations -- Decruftify LLRenderTarget, use a shader to copy color/depth instead of glCopyTexSubImage or glBlitFrameBuffer 2023-01-09 18:12:54 -06:00
Jonathan "Geenz" Goodman 003e34190f Refactor post processing a smidge
Fixes SL-18484.
2023-01-02 05:38:29 -08:00
Dave Parks e6b5481cad SL-18782 WIP -- stub for reflection probe display. 2022-12-14 11:00:31 -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 65eec2ca8f Merge branch 'DRTVWR-559' of ssh://bitbucket.org/lindenlab/viewer into DRTVWR-559 2022-10-26 17:22:50 -05:00
Dave Parks de4c018499 SL-18105 Hook up render pipe directly to LLTextureEntry::mGLTFMaterial and add LLViewerFetchedTextures to LLFetchedGLTFMaterial. Lower reflection probe resolution to 128x128 per side. 2022-10-19 14:41:17 -05:00
Dave Parks 26f99409d2 SL-18190 Temporarily disable occlusion culling by default -- not compatible with depth buffer management changes. 2022-10-07 12:52:43 -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 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 04d3a29a69 SL-18190 Faster better stronger radiance/irradiance maps 2022-09-19 17:27:33 -05:00
Dave Parks 655f8d8ee1 Fix for overbright and artifacted radiance maps on NVIDIA hardware 2022-09-17 20:18:54 -05:00
Dave Parks 48eea4de0a Adjust radiance maps to better match Substance 2022-09-17 15:37:21 -05: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
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 3400e5fd30 SL-17284 Reflection probe tuning and optimization take 1 2022-05-16 17:21:08 +00:00
Runitai Linden dd03246735 SL-16478 Fix for octree and render batch debug display not working with rigged meshes. 2021-12-17 09:26:44 -06:00
Runitai Linden 1a6ef9a1fb SL-16468 Fix for crash when enabling highlight transparent (add rigged mesh support to highlight transparent). 2021-12-08 15:35:25 -06:00
Dave Parks 28f9fb06a9 SL-16289 Rigged mesh rendering overhaul 2021-11-20 18:49:19 +00:00