userDayaancancel

243 Commits over 334 Days - 0.03cph!

6 Months Ago
Use terrain normal map instead of deriving from the height map for better quality on steep edges, more accurate grass distance based cell count calculation
6 Months Ago
Recompute cells when texture mipmap limit is changed, fix underwater foliage by calculating min max heights in cells, and improve debug view.
6 Months Ago
Revert changes to terrain maps, fix inaccurate heights by setting ignoreMipmapLimit on heightmap
6 Months Ago
Track total possible instance count and recreate buffer if required
6 Months Ago
Merge from main
6 Months Ago
Change detail metallic map to better match the blend2x mode paradigm
6 Months Ago
Merge from main
6 Months Ago
Handle AsyncGPUReadback data in a job, remove unused grid class
6 Months Ago
More clean up, primitive rendering improvements using the vertex buffer instead of a structured buffer, fix issue incorrectly limiting wrapping grid, error when placement counts don't match, integrate with Jungle biome, compare triangle counts when binning meshes to avoid false positives, better toggling between instancing for performance comparisons.
6 Months Ago
Fix corrupted file
6 Months Ago
Primitive indexed indirect render implementation for single material
6 Months Ago
Add y-axis fade controls to foliage billboard shader
6 Months Ago
Fix foliage shader merge issue. Adjust placement count.
6 Months Ago
Merge from main
6 Months Ago
Big code clean up and mark up. GPU readback to job wip.
6 Months Ago
Merge from main
6 Months Ago
Better switching between instancing on/off, and more clean up
6 Months Ago
Merge from main
6 Months Ago
Clean up no longer used instancing code, add grass instancing convar to enable instancing, fix incorrect placement IDs, add small bias to cell box/plane check to avoid false/edge case negatives
6 Months Ago
Improve foliage cell culling with heights, allowing proper camera plane culling using AABB bounds check. Now using a fixed bounds around camera based on grass distance where cells will be culled and bounds shrinked for the compute pass.
6 Months Ago
Improve cell culling on CPU using plane distances with approx cell radius as threshold, distance culling on GPU, better max distance calculation, improve debug view.
7 Months Ago
Put foliage cell collect and command buffer creation in job, split render update across update and late update, add submesh command values to master mesh struct
7 Months Ago
Merge from main
7 Months Ago
Cherry pick from foliage_wind_phase 118815
7 Months Ago
GUI toggle for using blue vertex channel as wind phase offset
7 Months Ago
Restructure foliage grid to make use of native arrays in cell collect and command creation steps. Use wrapping smaller grid for foliage cells to keep to a reasonable size, while invalidating cells as the camera moves.
7 Months Ago
Merge from main
7 Months Ago
Re-enable wind and fix instanced foliage motion vectors
7 Months Ago
Simplify placement compute shader and reduce interlocked ops, restructure foliage instancing header to handle shadows and motion vectors, improve performance in foliage grid update by caching raycorners and reducing unneeded cbuffer updates.
7 Months Ago
Merge from main
7 Months Ago
Fix buffer clearing compute dispatch count, array disposal, add scale world to object matrix, restore old functionality for comparisons
7 Months Ago
Add normals and tangents to binned vert data, restructure foliage vertex shader to handle wind, fading and displacement with instancing (also might have improved edge masking), add optional vertex data macros to make passing data easier and reducing redundant calculations
7 Months Ago
Use blue channel vertex colour as phase offset to wind when DisplacementOverride is enabled
7 Months Ago
Simplify active submesh data structure
8 Months Ago
Compute foliage cell population on a 3x3 grid of 8x8 cells in a sequence of computes and AsyncGPUReadbacks to cache population counts in chunks as camera moves.
8 Months Ago
Fix merge issues, increase cell compute radius, add clear buffer step to run separately
8 Months Ago
Merge from main
8 Months Ago
Testing async gpu readback to calculate foliage counts to avoid any consistency issues
8 Months Ago
Increase coarse cull epsilon, and improve debug logs
8 Months Ago
Improve cell placement count gathering performance by using bitmasks instead of collections
8 Months Ago
Add foliage debugger to find inconsistencies, fix splat and biome map sampling, adjust cpu coarse culling to avoid issues, remove instance data padding now placement is more consistent
8 Months Ago
Use vertex offsets to handle combined index buffer, fix total argument count to handle binned meshes, fix minimal vertex buffer indexing.
8 Months Ago
Mesh binning preprocess in foliage grid using minimal vertex buffer to reduce draw calls on foliage which share similar meshes.
8 Months Ago
Combine foliage meshes and make use of multiple draw commands to minimise state changes
8 Months Ago
Grass clumping which influences position, height and direction.
8 Months Ago
Handle wind and displacement in compute step
9 Months Ago
Setup new material and foliage asset, improve grass blade shape, change instance data to use bezier curves.
9 Months Ago
Fix args buffer, and add simple UVs to procedural vertex function
9 Months Ago
Adding procedural option using render primitives indexed indirect for grass blades with calculated vert positions
9 Months Ago
Merge from main