Grass Rendering Series

102 ibobev 9 5/26/2025, 12:29:53 PM hexaquo.at ↗

Comments (9)

kibibu · 15h ago
jmiskovic · 10h ago
I would rather recommend this video [1] from SimonDev. It is much more enjoyable to watch. But all of these explain the exact same approach of rendering instanced geometry, with wind dynamics made in vertex shader.

I used this as reference to implement an infinite grass world in ~300 LoC of Lua and GLSL.

[1] https://www.youtube.com/watch?v=bp7REZBV4P4 [2] https://github.com/jmiskovic/grassland/blob/main/grass.lua

rmosolgo · 16h ago
I haven't run through the grass in a video game since Ocarina of Time, so those modern screenshots really impressed me.

Have there been any games that tried to include species diversity in their grass? Around here anyways, there are 6 or 8 major pasture species, often in different growth stages at any given time of year.

zimpenfish · 8h ago
> Have there been any games that tried to include species diversity in their grass?

Minecraft, if you squint?[0] Obviously that's not any kind of graphical fidelity to real grass though.

[0] There's a couple of variants of grass which is then tinted to reflect the biome you're in. Some of the terrain mods add a bunch of new grasses ("betternether" springs to mind)

grg0 · 16h ago
I think you might catch a butterfly or two in some games, but it's rare. I agree these nature environments often feel totally dead in games. Same with nature sounds. Devs usually get a bigger boner simulating wind and contact physics on each individual blade of grass (like this blog post does in part 3, of course).
setr · 15h ago
Developers interested in speciation have a tendency to fall prey to genetic algorithms and simulations, and eventually lost to those ratholes
Aeolun · 13h ago
That was pretty interesting, and was actually something I could follow along with, even if I’d never want to write a shader myself.
dcrazy · 16h ago
Remedy released this fantastic talk about Alan Wake 2’s foliage system outside the paywall during last year’s GDC: https://gdcvault.com/play/1034310/Large-Scale-GPU-Based-Skin...

Unfortunately it doesn’t seem like it can be downloaded anymore, at least without an account.

fractallyte · 8h ago
Only some spires of bright green grass

Transparently in sunshine quivering.

-- Emily Brontë, August 1837