summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-13DRTVWR-592: Disable (but do not remove) shader debugCosmic Linden
2023-10-13DRTVWR-592: (WIP) (has debug) Fix PBR terrain material mixing and triplanar ↵Cosmic Linden
mapping using wrong mix, causing bright spots
2023-10-13DRTVWR-592: (WIP) (has debug) Apply triplanar optimization technique to PBR ↵Cosmic Linden
material sampling. Use slightly different alpha ramp to hide unused materials
2023-10-13DRTVWR-592: Remove shader cruftCosmic Linden
2023-10-13DRTVWR-592: Don't read UVs for PBR terrain in single-plane case - works out ↵Cosmic Linden
to be more expensive than triplanar in some cases, and UVs are already trivial
2023-10-13DRTVWR-592: Clean up debug and test cases for ant trails artifact. Fix ↵Cosmic Linden
whitespace
2023-10-13DRTVWR-592: (WIP) (has debug) More rigorous definition of usage vector for ↵Cosmic Linden
triplanar that avoids possible case where 1 = 0.9999, which gets rounded down to 0 on int cast
2023-10-13DRTVWR-592: (WIP) (has debug) Fix removing axial sign flip of normal texture ↵Cosmic Linden
during zero check, add another zero check
2023-10-13DRTVWR-592: (WIP) (has debug) Fix "ant trail" seams in terrain caused by ↵Cosmic Linden
multiple texture lookups in a switch..case block
2023-10-13DRTVWR-592: (DEBUG) (broken) Clean up a few debug cases not used for ↵Cosmic Linden
reproducing the bug
2023-10-13DRTVWR-592: (DEBUG) (broken) Strange sampling behavior isolated to ↵Cosmic Linden
switch..case blocks
2023-10-13DRTVWR-592: (DEBUG) (broken) Strange sampling behavior survives weight bypassCosmic Linden
2023-10-13DRTVWR-592: (WIP) CleanupCosmic Linden
2023-10-13DRTVWR-592: (WIP) (has debug) Convert colors to linear before triplanar ↵Cosmic Linden
blending. General refactor.
2023-10-13DRTVWR-592: Fix not thresholding texture lookups for non-normal textures. ↵Cosmic Linden
Also decrease threshold to (hopefully) reasonable level
2023-10-13DRTVWR-592: (WIP) Test impact of higher threshold on performance and visualsCosmic Linden
2023-10-13DRTVWR-592: Fix weightsCosmic Linden
2023-10-13DRTVWR-592: Triplanar performance passCosmic Linden
2023-10-13DRTVWR-592: Fix terrain normal sampling in non-triplanar caseCosmic Linden
2023-10-13DRTVWR-592: (WIP) PBR Terrain: Improve orientation of textures and normal ↵Cosmic Linden
maps for triplanar mapping, minor cleanup
2023-10-13DRTVWR-592: Give PBR terrain shader more descriptive name for ↵Cosmic Linden
debugging/profiling
2023-10-13DRTVWR-592: Add test config for triplanar mapping blend strengthCosmic Linden
2023-10-13DRTVWR-592: Add triplanar mapping setting, gate to High graphics setting or ↵Cosmic Linden
higher, bump feature table
2023-10-13DRTVWR-592: (WIP) Triplanar mappingCosmic Linden
2023-10-13DRTVWR-592: Fix broken minimap loading, improve minimap view of PBR ↵Cosmic Linden
materials (still not accurate, but better...)
2023-10-13DRTVWR-592: Add tracy block to gen_terrain_tangents (not profiled)Cosmic Linden
2023-10-13DRTVWR-592: Remove WIP separate code path for terrain geometry rebuilds for ↵Cosmic Linden
PBR as that is not needed at the moment
2023-10-13DRTVWR-592: Create separate config option for terrain repeats. Clean up debugCosmic Linden
2023-10-13DRTVWR-592: (WIP) Fix terrain PBR texture repeat seam. Legacy terrain ↵Cosmic Linden
texture repeats currently broken
2023-10-13Revert "Revert "DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin ↵Cosmic Linden
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 2318d657660320b921e1566b54d3833c0401a34c.
2023-10-13DRTVWR-592: Another attempt to fix Mac build: remove deprecated use of texture2DCosmic Linden
2023-10-13SL-19750: Only disable PBR terrain emissive for machines that have a limit ↵Cosmic Linden
of 16 texture binds. Bump featuretable
2023-10-13DRTVWR-592: PBR terrain fallback for Mac/Intel: Drop emissive texture. Bump ↵Cosmic Linden
featuretable.
2023-10-13Revert "DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up ↵Cosmic Linden
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 de9184479cfc179ba6e9d6ff388aff7da7f0b4ab.
2023-10-13DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up code for ↵Cosmic Linden
PBR-specific terrain geometry updates. Unfortunately, this version has a bug which can cause rebuilds to be skipped. Needs more work/testing
2023-10-13DRTVWR-592: Overdraw is not free. Render terrain after Opaque ↵Cosmic Linden
Blinn-Phong/PBR have populated the foreground
2023-10-13DRTVWR-592: Fix issues with blending of materials, for example when fading ↵Cosmic Linden
out an emissive texture. Also affects base color and ORM
2023-10-13DRTVWR-592: Fix some virtual functions not being marked overrideCosmic Linden
2023-10-13DRTVWR-592: Fix unable to undo effect of local terrain debug setting without ↵Cosmic Linden
restarting viewer
2023-10-13DRTVWR-592: Add debug options LocalTerrainAssetN. Fix PBR terrain texture ↵Cosmic Linden
flickering
2023-10-13DRTVWR-592: (WIP) Roughly working draft of PBR terrainCosmic Linden
2023-10-13DRTVWR-592: (WIP) (does not work) PBR terrain rendering - compiles, but ↵Cosmic Linden
doesn't render properly just yet
2023-10-13DRTVWR-592: (WIP) (does not run) PBR terrain rendering - more work on ↵Cosmic Linden
shaders, uniforms
2023-10-13DRTVWR-592: (WIP) (does not run) PBR terrain rendering - begin work on ↵Cosmic Linden
shaders, uniforms
2023-10-13DRTVWR-592: Working tangent calculation, not yet usedCosmic Linden
2023-10-13DRTVWR-592: (WIP) Debugging, rethinkingCosmic Linden
2023-10-13DRTVWR-592: (WIP) Add code for generating terrain tangents (not yet used)Cosmic Linden
2023-10-13DRTVWR-592: (WIP) Separate code path for terrain rendering and shaders. Just ↵Cosmic Linden
copy/paste for now. Use same draw pool
2023-10-13DRTVWR-592: Render PBR material terrain like legacy, using baseColor textureCosmic Linden
2023-10-13DRTVWR-592: (WIP) Detect when terrain materials are loaded, use as fallback ↵Cosmic Linden
when terrain textures do not load