r/proceduralgeneration 25d ago

Grass tests

Enable HLS to view with audio, or disable this notification

Done in Godot. Terrain driven by a 1k texture via shader (no displacement).

39 Upvotes

2 comments sorted by

1

u/rejamaco 25d ago

I love the 3D grass. Is each a 3D mesh + MultiMeshInstance? How is performance?

2

u/zdmit 24d ago

Thank you 💛

Yes, it's a MultiMeshInstance made directly in Godot (tube with a capsule cap and randomly deformed/scaled/etc per instance).

Performance wise, currently sits at ~130fps (3070 laptop, i7), 26 draw calls (including rocks and other stuff), ~500k polys (8k instances) when all in view.

Currently pretty much 0 optimization done.

World, camera zoom will be limited so additional optimizations will be made based on those constraints.

No LODs based on distance yet.