Commit Graph

48012 Commits (35d889f7af9686b79fe0e5255121a444a044beab)

Author SHA1 Message Date
Cosmic Linden 35d889f7af DRTVWR-592: Create separate config option for terrain repeats. Clean up debug 2023-10-13 10:38:48 -07:00
Cosmic Linden b9ba57fd00 DRTVWR-592: (WIP) Fix terrain PBR texture repeat seam. Legacy terrain texture repeats currently broken 2023-10-13 10:38:42 -07:00
Cosmic Linden 57433341ab Revert "Revert "DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up code for PBR-specific terrain geometry updates. Unfortunately, this version has a bug which can cause rebuilds to be skipped. Needs more work/testing""
This reverts commit 2318d65766.
2023-10-13 10:36:51 -07:00
Cosmic Linden a65c9dad55 DRTVWR-592: Another attempt to fix Mac build: remove deprecated use of texture2D 2023-10-13 10:33:21 -07:00
Cosmic Linden cbf202d632 SL-19750: Only disable PBR terrain emissive for machines that have a limit of 16 texture binds. Bump featuretable 2023-10-13 10:33:18 -07:00
Cosmic Linden dfa19c5e43 DRTVWR-592: PBR terrain fallback for Mac/Intel: Drop emissive texture. Bump featuretable. 2023-10-13 10:33:16 -07:00
Cosmic Linden 2318d65766 Revert "DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up code for PBR-specific terrain geometry updates. Unfortunately, this version has a bug which can cause rebuilds to be skipped. Needs more work/testing"
This reverts commit de9184479c.
2023-10-13 10:31:51 -07:00
Cosmic Linden de9184479c DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up code for PBR-specific terrain geometry updates. Unfortunately, this version has a bug which can cause rebuilds to be skipped. Needs more work/testing 2023-10-13 09:58:50 -07:00
Cosmic Linden 3b3ba3623a DRTVWR-592: Overdraw is not free. Render terrain after Opaque Blinn-Phong/PBR have populated the foreground 2023-10-13 09:58:43 -07:00
Cosmic Linden 1820f23b96 DRTVWR-592: Fix issues with blending of materials, for example when fading out an emissive texture. Also affects base color and ORM 2023-10-13 09:58:35 -07:00
Cosmic Linden d2da776980 DRTVWR-592: Fix some virtual functions not being marked override 2023-10-13 09:58:27 -07:00
Cosmic Linden 14c3730bf1 DRTVWR-592: Fix unable to undo effect of local terrain debug setting without restarting viewer 2023-10-13 09:58:20 -07:00
Cosmic Linden 94d8f669ac DRTVWR-592: Add debug options LocalTerrainAssetN. Fix PBR terrain texture flickering 2023-10-13 09:58:13 -07:00
Cosmic Linden 039116abd4 DRTVWR-592: (WIP) Roughly working draft of PBR terrain 2023-10-13 09:58:05 -07:00
Cosmic Linden 5d046d8835 DRTVWR-592: (WIP) (does not work) PBR terrain rendering - compiles, but doesn't render properly just yet 2023-10-13 09:57:57 -07:00
Cosmic Linden a7cd5f6ef9 DRTVWR-592: (WIP) (does not run) PBR terrain rendering - more work on shaders, uniforms 2023-10-13 09:57:48 -07:00
Cosmic Linden 7376b3e4b9 DRTVWR-592: (WIP) (does not run) PBR terrain rendering - begin work on shaders, uniforms 2023-10-13 09:57:40 -07:00
Cosmic Linden 763a9b5249 DRTVWR-592: Working tangent calculation, not yet used 2023-10-13 09:57:32 -07:00
Cosmic Linden 49a5b79c2b DRTVWR-592: (WIP) Debugging, rethinking 2023-10-13 09:57:24 -07:00
Cosmic Linden 474923e3cb DRTVWR-592: (WIP) Add code for generating terrain tangents (not yet used) 2023-10-13 09:57:17 -07:00
Cosmic Linden 3553fec208 DRTVWR-592: (WIP) Separate code path for terrain rendering and shaders. Just copy/paste for now. Use same draw pool 2023-10-13 09:57:10 -07:00
Cosmic Linden 94e824739b DRTVWR-592: Render PBR material terrain like legacy, using baseColor texture 2023-10-13 09:57:02 -07:00
Cosmic Linden 76bf3390eb DRTVWR-592: (WIP) Detect when terrain materials are loaded, use as fallback when terrain textures do not load 2023-10-13 09:56:55 -07:00
Cosmic Linden 2d10941459 DRTVWR-592: (WIP) More work on terrain texture editing GUI 2023-10-13 09:56:49 -07:00
Cosmic Linden 410ab68991 DRTVWR-592: (WIP) Save PBR material terrain (does not yet render) 2023-10-13 09:56:44 -07:00
Cosmic Linden a2f384984e DRTVWR-592: Use overrides, make mac build happy 2023-10-13 09:56:39 -07:00
Cosmic Linden 6e36bbae74 DRTVWR-592: (WIP) Add material terrain selection to GUI 2023-10-13 09:56:34 -07:00
Cosmic Linden 55f597e2ec DRTVWR-592: Allow using RGBA textures for terrain, as the texture uploader does not consolidate opaque textures 2023-10-13 09:56:28 -07:00
cosmic-linden effb14913b
Merge pull request #260 from secondlife/SL-17405
SL-17405 (Part 2): Fix viewer not requesting land impact when a non-root prim in a link set gets a GLTF material ID update
2023-06-28 14:23:38 -07:00
Cosmic Linden f7134beb40 SL-17405 (Part 2): Fix viewer not requesting land impact when a non-root prim in a link set gets a GLTF material ID update 2023-06-28 12:57:33 -07:00
RunitaiLinden 79223b63a2 SL-19842 Sanity clamp sky brightness. 2023-06-28 13:47:14 -05:00
RunitaiLinden 36949692b6 SL-19842 Nudge dynamic exposure coefficient and soften indirect lighting. 2023-06-28 11:00:10 -05:00
RunitaiLinden ca47c7ff44 DRTVWR-559 Fix for manual probes not updating as often as they should when nearby (bad distance calculation) 2023-06-27 20:11:01 -05:00
RunitaiLinden 8d17467f7f SL-19884 Fix for garbled rigged meshes in model import preview window. 2023-06-27 18:49:36 -05:00
RunitaiLinden 2981098645 SL-19897 Followup -- handle 100% transparent objects that are "active" 2023-06-27 14:01:42 -05:00
RunitaiLinden 74a9bf4f1e Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-06-27 13:36:15 -05:00
RunitaiLinden 8032aa20c8 SL-19925 Make high graphics default to shadows on. 2023-06-27 13:35:57 -05:00
Brad Linden 77ea8eedb8 Fix for SL-19620 & SL-19768 material overrides incorrectly affecting other faces 2023-06-26 14:07:16 -07:00
RunitaiLinden 774c2d0f88 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-06-26 15:37:33 -05:00
RunitaiLinden 21b67896e9 SL-19909 Fix for reflection probes on vehicles blocking mouse clicks. Incidental instrumentation and decruft. 2023-06-26 15:37:18 -05:00
akleshchev e7df845cb7
Merge pull request #252 from secondlife/andreyk/SL-5161
SL-5161 Hiding meshes that wait for skin data
2023-06-26 20:15:10 +03:00
RunitaiLinden 22eecf1018 SL-19897 Fix for 100% transparent objects not showing up in highlight transparent until LoD switch. 2023-06-23 11:46:09 -05:00
Andrey Kleshchev ca84e0e0c0 SL-5161 Avatars should stay hidden longer if they are waiting for meshes or skin data 2023-06-23 13:01:19 +03:00
RunitaiLinden 3a1b60b2ba SL-19785 Fix for blown out skies from Glow Focus. Add notification when editing legacy skies. 2023-06-22 17:10:24 -05:00
Andrey Kleshchev 4e6303792a SL-5161 Don't render meshes that are waiting for skin data 2023-06-22 22:32:42 +03:00
RunitaiLinden f0dc9ea3fd Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-06-21 20:51:18 -05:00
RunitaiLinden 85967398ff SL-19792 Fix for visible gaps in water between region water and void water. 2023-06-21 20:50:50 -05:00
Jonathan "Geenz" Goodman db485adbeb Fix for mac artifacting.
Also tweak our vignette to help (further) skip samples we don't need, and for further look and feel adjustments.
SL-19784
2023-06-16 05:18:22 -07:00
RunitaiLinden 3b8d7c6172 Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559 2023-06-15 16:55:33 -05:00
RunitaiLinden b132e2eea8 SL-19878 Remove auto-adjust legacy skies checkbox. 2023-06-15 16:55:18 -05:00