Commit Graph

48023 Commits (a8d69a4baecfae81b4adb68992f02e3ebc47b876)

Author SHA1 Message Date
Cosmic Linden a8d69a4bae DRTVWR-592: Fix weights 2023-10-13 10:39:50 -07:00
Cosmic Linden 2895b7bf81 DRTVWR-592: Triplanar performance pass 2023-10-13 10:39:45 -07:00
Cosmic Linden 3e3a3c1c52 DRTVWR-592: Fix terrain normal sampling in non-triplanar case 2023-10-13 10:39:40 -07:00
Cosmic Linden db4bc52829 DRTVWR-592: (WIP) PBR Terrain: Improve orientation of textures and normal maps for triplanar mapping, minor cleanup 2023-10-13 10:39:34 -07:00
Cosmic Linden 23ca385f3d DRTVWR-592: Give PBR terrain shader more descriptive name for debugging/profiling 2023-10-13 10:39:28 -07:00
Cosmic Linden ed973f4cbc DRTVWR-592: Add test config for triplanar mapping blend strength 2023-10-13 10:39:22 -07:00
Cosmic Linden 2dc3f3ade1 DRTVWR-592: Add triplanar mapping setting, gate to High graphics setting or higher, bump feature table 2023-10-13 10:39:16 -07:00
Cosmic Linden 754fe9d4b7 DRTVWR-592: (WIP) Triplanar mapping 2023-10-13 10:39:09 -07:00
Cosmic Linden ab3b4edac7 DRTVWR-592: Fix broken minimap loading, improve minimap view of PBR materials (still not accurate, but better...) 2023-10-13 10:39:03 -07:00
Cosmic Linden 7f74318916 DRTVWR-592: Add tracy block to gen_terrain_tangents (not profiled) 2023-10-13 10:38:59 -07:00
Cosmic Linden d6aced7abf DRTVWR-592: Remove WIP separate code path for terrain geometry rebuilds for PBR as that is not needed at the moment 2023-10-13 10:38:54 -07:00
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