branchrust_reboot/main/directional_foliage_displacementcancel

10 Commits over 30 Days - 0.01cph!

3 Hours Ago
Merge from main
3 Hours Ago
Flatten small displacements Fix displacement origin calculation Increase grass displacement factor Clean up and restructure for performance testing
6 Days Ago
Fix negative displacements being clipped Scale vector by radius after sample Clamp to avoid any extremes Falloff by distance from centre of mesh and scale of mesh Displace only when vector does not cross centre of mesh
11 Days Ago
Merge from main
22 Days Ago
Clamp displacement radius, fix seemingly bugged alpha blend mode, bring back displacement decay using DstColor multiply
25 Days Ago
Use additive blend and alpha max for heights should solve height blending issues
27 Days Ago
Merge from main
27 Days Ago
Replace all displacement textures with shapes, switch off blending for now, use vertex position to sample displacement instead of instance pos (except of grass case), squash foliage towards centre relative to displacement vector, use quantized vertex colours to attenuate, and rework directional height for better blending.
36 Days Ago
Replace circle displace textures with radius, change displacement map to halfs (for now) to avoid precision issues when encoding, fix grass displacement issues with directional system, adjust blendmodes and use color mask to avoid blending height.
41 Days Ago
Change displacement map to linear, implement directional displacement, change displacement shader blends to handle encoded directional data, pass in terrain height params as shader globals, and sample displacement vectors attenuated by foliage wind vertex colours