branchrust_reboot/main/terrain_renderercancel

126 Commits over 396 Days - 0.01cph!

8 Months Ago
Move ConVars to terrain ConVars Add terrain renderer to WorldSetup Add terrain mesh culling toggle
8 Months Ago
Merge from main
8 Months Ago
Improve editor terrain view Snap render distance to cell to make bounds consistent FIx incorrect LOD borders at last LOD
8 Months Ago
Change position operations to integer coords to solve lod border issues with some terrain sizes Setup terrain renderer to run in editor for scene view and game view cameras
8 Months Ago
Make low res heightmap size dynamic to handle different terrain sizes
9 Months Ago
Add profiling marker to terrain render
9 Months Ago
Merge from main
9 Months Ago
Use min and max for coarse terrain height shadow culling and re-enabled camera and shadowing culling.
9 Months Ago
Add vertex density slider for terrain detail Fix grid position alignment issues with some cell sizes Editor recreates terrain buffers on inspector changes
9 Months Ago
Fix instance offsets, and LOD border calculations when using some LOD distance values Add debug validation toggle to system Handle terrain detail when using narrow FOVs by moving the centre point along the forward direction but clamped to the first LOD boundry
9 Months Ago
Fix render bounds flooring Fix corner LOD edge detection LODs are now seamless
10 Months Ago
Fix incorrect edgeFlags, rotation, and flipped border meshes
10 Months Ago
Add colour to instance data for debugging, wip rotation handling for seamless LOD borders
10 Months Ago
Fix cell mesh sizes at each LOD
10 Months Ago
Fix mesh create errors, change from vertCount to vertLOD index for choosing lowest LOD vertex count
10 Months Ago
Merge from main
10 Months Ago
Fix mesh creation with border meshes Calculate instance offsets when LOD factor is updated Combine per LOD compute into singular dispatch
10 Months Ago
Triangle fan cells wip
10 Months Ago
Calculate cellsize based on vertex count and texels per unit Use max axis for LOD distance Use camera position snapped to half cell increments for LOD distance Change LOD falloff to log function Enable shore wetness
11 Months Ago
Compute heightmap into small height max map texture Separate terrain compute bounds into render bounds and camera bounds for shadow cull testing Consider shadow casting in terrain culling step using a raycast with max region height
11 Months Ago
Merge from main
11 Months Ago
Terrain shadow culling wip, and merge fix
1 Year Ago
Fix terrain shadows, add vertex normal map sampling, use terrain heightmap instead of height slope map, change LOD slider into min/max slider for more control, and add convar for terrain renderer toggling.
1 Year Ago
Merge from main
1 Year Ago
Split dispatches per LOD, enable camera culling per cell, improve use of groupshared memory, enable renderer in editor, and add LOD distribution slider.
1 Year Ago
Instanced terrain cell renderer setup