Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
Recently got reminded of a GDC talk on God of War's interactive wind, which also talks about grass. So I've added a trample system similar to it, I even got it to work with overhangs (in most cases) 🌱👢 The wind will have to wait🎐 #ScreenshotSaturday #GodotEngine #GameDev #IndieDev #Simulation

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

Recently got reminded of a GDC talk on God of War's interactive wind, which also talks about grass. So I've added a trample system similar to it, I even got it to work with overhangs (in most cases) 🌱👢 The wind will have to wait🎐 #ScreenshotSaturday #GodotEngine #GameDev #IndieDev #Simulation

0 vue Publié le 05/12/2026 09:30 0:35
#indiedev #screenshotsaturday #godotengine #gamedev #simulation
Recently got reminded of a GDC talk on God of War's interactive wind, which also talks about grass. So I've added a trample system similar to it, I even got it to work with overhangs (in most cases) 🌱👢 The wind will have to wait🎐 #ScreenshotSaturday #GodotEngine #GameDev #IndieDev #Simulation
10 commentaires
?
The spring-back on the flowers looks lovely. Fellow Godot dev here, curious about the overhangs: with a top-down camera render for the sim, how do you stop a branch or roof from counting as a trampler?
SnowRSPS @snowrsps.bsky.social · 05/12/2026 23:09
The overhang handling is a nice touch. Does the grass spring back slowly after you walk through, or snap right back?
so cool !
Nice, the overhang handling is the tricky part. If you blend the trample bend back with a damped spring instead of a straight lerp, the grass springs back with a little overshoot and it reads much more natural.
Maybe instead of the grass getting shorter, it would look nicer if it swayed to the sides. If you are directly passing the object positions to the shader, you could just calculate the delta between the grass and the player to get direction and proximity. If it's a texture, the delta is the gradient.
Currently I'm doing both, it gets smaller and sways side to side. Though there's still a lot of tweaking to do with how strong the effects are.
Hi from Tideturners! We just released our co-op dog herding game, Have You Herd? Out now on Steam: store.steampowered.com/app/2209340/

A review or follow means a lot. Socials on our page. HERD UP!

#ScreenshotSaturday #HaveYouHerd #HaveYouHerdGame
Looks awesome!
I'm pretty sure there should be a separate job title in gamedev just for "Grass Engineer".
The flattened trail she leaves through the flower beds looks lovely, and it still working on those floating grass blocks is a nice touch. Does the grass spring back up over time, or does it stay flattened where you've walked?
nice, overhangs sound like the fiddly part. how do you decide when grass counts as under one?
The trample simulation works with a heightfield that gets "pushed in" by the objects like the player. If it gets pushed in further than the grass by a margin it is not pushed in.

You could see this if you quickly jump down an overhang and move under it, luckily the camera jumped in this recording
FYI, my compute shader related questions this week were not for this simulation, nor wind simulation, but for something else 👀

Also, this is the GDC talk I refer to: youtu.be/MKX45_riWQA?...
Interactive Wind and Vegetation in 'God of War'
YouTube video by GDC Festival of Gaming
I probably should've made this video first, the simulation isn't limited to just the character. Any object that renders to the heightfield tramples the grass, though it only renders within a range (32m) of the character.

Top left shows the textures used for this effect, a camera render and a sim
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.