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/Syracuss Oct 21 '26

I wouldn't be surprised someone who doesn't know what they are doing would take longer than an hour, but you could definitely do it cheaper than the cost to buy this.

I get API token credits at work, and even with the higher pricepoint of that I'd still get this comfortably under 50, and that solution would be custom tailored to the project.

And my assumptions are based on being a graphics engineer in the games industry for the last 20 years, and using AI tools at work. So a pretty good assumption.

2

u/CouchWizard Oct 21 '26

Not a graphics engineer, but embedded, confident I can do this in an hr. I'll report back

4

u/CouchWizard Oct 21 '26 edited Oct 21 '26

2 prompts https://imgur.com/a/xX9oNpe

Sorry work got busy

edit: 3 prompts https://imgur.com/a/9ncwfJc, https://imgur.com/a/avt0plz, https://imgur.com/a/SJeVpEC

I will take $20 for my grass

1

u/Maui-The-Magificent Oct 21 '26

that is impressive! I too am a systems engineer, mostly work on kernel level stuff, and some graphics, I would not have thought you would be able to get his stuff in an hour, mostly because it contains more than just grass. Did you use his source to reconstruct his approach?

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.

-1

u/Maui-The-Magificent Oct 21 '26

You assume I do not know what I am doing?

Anyway,l the assumptions made were on the person and their work. And if you are a professional in the industry, you should know what skill, effort and approach are all directly affecting the time of something being made. And you would also be aware that the output does not really need to reflect what is under the hood.

There are more dimensions of importance than the final result after all.