r/GraphicsProgramming • • Oct 20 '26

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

91 Upvotes

31 comments sorted by

View all comments

Show parent comment

2

u/CouchWizard Oct 21 '26

Sorry, I was confident I could prompt an llm to make the same thing he had an llm make in an hour, and did so in 3 prompts (below).

I remember looking into this precovid and tried my hand and got somewhere, 1 hr would be tough

1

u/Maui-The-Magificent Oct 21 '26

Do not apologize, you tested it out which is commendable, and proved that some of my assumptions might be wrong. Running the experiment is more than I could ask for.

I always opt on the side of the developer. And I think both you and I know that the output of something does not translate to the skill or complexity of what is underneath. I mean, if you build a XHCI interface that works well, it is invisible, and if you reason about them mechanically they seem trivial to implement, then you are hit with a spec, a bunch of rings and a command protocol to work with. The complexity of something is rarely shown in the output in my experience.