branchrust_reboot/main/foliage_instancingcancel

16 Commits over 62 Days - 0.01cph!

4 Days Ago
Combine foliage meshes and make use of multiple draw commands to minimise state changes
13 Days Ago
Merge from main
13 Days Ago
Implement new foliage placement function in RefreshAsync update, adjust refresh distance when using instancing, make debug toggle.
16 Days Ago
Implement manual bilinear sampling and edit CPU sampling to match GPU behaviour, add distance scaling, improve rng hash function, fix edge case causing out of sync rng.
19 Days Ago
Random instance rotation, pack instance data into halfs, fix hash inconsistency
21 Days Ago
Implement precise placement check on CPU to improve instance offset accuracy (to test against cheaper approximation), extend debug info to test accuracy, use procedural noise instead of texture, improve randomisation, apply rotation to instances based heightmap
26 Days Ago
Merge from main
26 Days Ago
Switch to structs instead of offsets, update debug counters for clarity, add clean up on destroy, give foliage unique seeds to keep consistent
29 Days Ago
Make foliage instancing much more stable/accurate, better seed and random calculations, made the noise texture match the CPU noise much more closely in distribution, add debug option to force CPU and GPU maps to sync, apply random scale to instances, and change foliage count calculation to adjust for probability.
31 Days Ago
Merge from main
32 Days Ago
Add debug counters to compute, adjust noise compute for better placement, add toggle for instancing, fix incorrect cell bounds calculation, improve foliage cpu count estimation, improve foliage random positions, and add camera culling to foliage compute.
40 Days Ago
Merge from main
40 Days Ago
Fix and improve foliage placement compute map sampling/decoding, fix incorrect foliage cells being used, clean up and move shader setup for instancing to includes, fix bounds calculations, add function to get foliage counts per cell, implement instance offsets and density handling to foliage placement.
46 Days Ago
Progress on foliage instancing: noise generation on gpu, fixed compute placement sync issues, wip instance data offsets and usage in foliage shader.
2 Months Ago
Fix foliage grid bounds calculations, basic implementation of terrain maps in compute foliage placement
2 Months Ago
Compute foliage placement prototyping