Giuseppe "Juice" Modarelli 🏹 Tides of Revival RPG @gmodarelli.com · Jan 27

I've kept exploring GPU-driven rendering and I've implemented a proof of concept for a GPU-based runtime object scattering system. I use it for grass but it can be used for all small objects that don't require physics interaction. 1/3

14 likes 1 replies

?

Replies

Giuseppe "Juice" Modarelli 🏹 Tides of Revival RPG · Jan 27

The only inputs to the system are the camera position and the area around it where I want to scatter objects. Based on that a compute shader fetches the required terrain heightmaps (bindless resources in Tides), calculates the object height and orientation and performs frustum culling. 2/3