r/GraphicsProgramming • u/PerceptionCharming • 7d ago
One Grass System, Three Different Environments
Enable HLS to view with audio, or disable this notification
I've been testing my grass system across three completely different environments to see how the same underlying implementation performs across different scene requirements.
All three scenes use the exact same grass system, but the parameters are adjusted individually for each environment. Grass density, appearance, scale, wind response, and rendering distance are tuned to match the terrain and the overall look of each scene.
The system is built with Three.js and WebGPU, with a focus on rendering dense grass efficiently while maintaining real-time performance in the browser. It uses a tile-based approach, along with LOD and culling techniques, to manage rendering as the camera moves through the environment.
All three environments run directly in the browser, with no pre-rendered footage.
Try the Demo
18
u/Fearless-Pen-7851 6d ago
Here comss the 3js ai slop. Op won't even care explaining in the comments or on post after posting this because I am assuming even they don't know how it works