Uploaded November 2020 | Updated September 2026, 2 weeks ago
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3
🩹 Fixes:
► Make sure your source mesh has read/write enabled in it's asset importer inspector.
Grass is a tough thing to render in games! In this video, I improve my grass layers script by converting it to use a compute shader and implementing LOD techniques! This makes it run much faster, so I can cover the screen with it!
👋 Subscribe for weekly game development videos!
youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
► patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► nedmakesgames.github.io
🔴 Twitch ► twitch.tv/nedmakesgames
🐦 Twitter ► twitter.com/nedmakesgames
🎮 Discord ► discordapp.com/invite/ubxSVBK
📸 Instagram ► instagram.com/nedmakesgames
👽 Reddit ► reddit.com/u/nedmakesgames
🎶 TikTok ► tiktok.com/@nedmakesgames
☕ Ko-fi ► ko-fi.com/nedmakesgames
🎬 Previous videos
► Grass geometry shader: youtu.be/YghAbgCN8XA
► Introduction to compute shaders: youtu.be/EB5HiqDl7VE
✨Follow up videos
► Procedural blades grass: youtu.be/DeATXF4Szqo
► Improved blade grass: youtu.be/6SFTcDNqwaA
📜 Required scripts
► NMGGrassLayersHelpers.hlsl: gist.github.com/NedMakesGames/7dc307df5aba5626f3e2789497937e8b
► GrassLayers.shader: gist.github.com/NedMakesGames/1e86d3827a6441a498905359bc20a26a
► GrassLayers.hlsl: gist.github.com/NedMakesGames/880ab6aadbaed95de2cabba8b67c410a
► TriCountToVertCount.compute: gist.github.com/NedMakesGames/4342891e191064217cc80fd2e95fc531
📚 Reference scripts
► Base shaders: gist.github.com/NedMakesGames/e7250105ad4d62beeb3758f203ed411b
► Generating layers: gist.github.com/NedMakesGames/a972e1706596ba2c57b0c1f99e5f4883
► Edit mode adjustments: gist.github.com/NedMakesGames/7bd707058cc395f945c96cd1f494feb7
► Multiple grass objects: gist.github.com/NedMakesGames/de043c1a4e4a208c31169a0d5a6cdd74
► Tiling with world position: gist.github.com/NedMakesGames/8b414c553419e5d02a23b50f1049e650
► Adding LOD: gist.github.com/NedMakesGames/8b3546c44e5e97ebdbcd66c63c21d74b
⏲️ Timestamps:
0:00 Intro
1:00 Project setup
1:45 Base shaders
7:44 Generating layers
9:04 Edit mode adjustments
9:27 Multiple grass objects
10:20 Tiling with world position
11:07 Adding LOD
13:53 Wrap up and credits
🎖️ Credits and references:
• Keijiro Takahashi: Noise Ball - github.com/keijiro/NoiseBall2
• Sam Driver: URP Lens Flares - github.com/Anatta336/bright-spots
• TotallyRonja: Compute Shader - ronja-tutorials.com/2020/07/26/compute-shader.html
• DuncanF: MarchingCubesGPU - gist.github.com/DuncanF/353509dd397ea5f292fa52d1b9b5133d
• benblo: TransformBounds - answers.unity.com/questions/361275/cant-convert-bounds-from-world-coordinates-to-loca.html
• Shahriar Shahrabi: grass examples - medium.com/@shahriyarshahrabi/volumetric-grass-shader-28ebb9f6860b
• Brute Force Games: grass examples - bruteforce-games.com/post/grass-shader-devblog-04
• BoxCat Games: music "Love Of My Life" - freemusicarchive.org/music/BoxCat_Games/Nameless_the_Hackers_RPG_Soundtrack/BoxCat_Games_-_Nameless-_the_Hackers_RPG_Soundtrack_-_16_Love_Of_My_Life
#GameDev #IndieDev #Unity
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3
🩹 Fixes:
► Make sure your source mesh has read/write enabled in it's asset importer inspector.
Grass is a tough thing to render in games! In this video, I improve my grass layers script by converting it to use a compute shader and implementing LOD techniques! This makes it run much faster, so I can cover the screen with it!
👋 Subscribe for weekly game development videos!
youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
► patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► nedmakesgames.github.io
🔴 Twitch ► twitch.tv/nedmakesgames
🐦 Twitter ► twitter.com/nedmakesgames
🎮 Discord ► discordapp.com/invite/ubxSVBK
📸 Instagram ► instagram.com/nedmakesgames
👽 Reddit ► reddit.com/u/nedmakesgames
🎶 TikTok ► tiktok.com/@nedmakesgames
☕ Ko-fi ► ko-fi.com/nedmakesgames
🎬 Previous videos
► Grass geometry shader: youtu.be/YghAbgCN8XA
► Introduction to compute shaders: youtu.be/EB5HiqDl7VE
✨Follow up videos
► Procedural blades grass: youtu.be/DeATXF4Szqo
► Improved blade grass: youtu.be/6SFTcDNqwaA
📜 Required scripts
► NMGGrassLayersHelpers.hlsl: gist.github.com/NedMakesGames/7dc307df5aba5626f3e2789497937e8b
► GrassLayers.shader: gist.github.com/NedMakesGames/1e86d3827a6441a498905359bc20a26a
► GrassLayers.hlsl: gist.github.com/NedMakesGames/880ab6aadbaed95de2cabba8b67c410a
► TriCountToVertCount.compute: gist.github.com/NedMakesGames/4342891e191064217cc80fd2e95fc531
📚 Reference scripts
► Base shaders: gist.github.com/NedMakesGames/e7250105ad4d62beeb3758f203ed411b
► Generating layers: gist.github.com/NedMakesGames/a972e1706596ba2c57b0c1f99e5f4883
► Edit mode adjustments: gist.github.com/NedMakesGames/7bd707058cc395f945c96cd1f494feb7
► Multiple grass objects: gist.github.com/NedMakesGames/de043c1a4e4a208c31169a0d5a6cdd74
► Tiling with world position: gist.github.com/NedMakesGames/8b414c553419e5d02a23b50f1049e650
► Adding LOD: gist.github.com/NedMakesGames/8b3546c44e5e97ebdbcd66c63c21d74b
⏲️ Timestamps:
0:00 Intro
1:00 Project setup
1:45 Base shaders
7:44 Generating layers
9:04 Edit mode adjustments
9:27 Multiple grass objects
10:20 Tiling with world position
11:07 Adding LOD
13:53 Wrap up and credits
🎖️ Credits and references:
• Keijiro Takahashi: Noise Ball - github.com/keijiro/NoiseBall2
• Sam Driver: URP Lens Flares - github.com/Anatta336/bright-spots
• TotallyRonja: Compute Shader - ronja-tutorials.com/2020/07/26/compute-shader.html
• DuncanF: MarchingCubesGPU - gist.github.com/DuncanF/353509dd397ea5f292fa52d1b9b5133d
• benblo: TransformBounds - answers.unity.com/questions/361275/cant-convert-bounds-from-world-coordinates-to-loca.html
• Shahriar Shahrabi: grass examples - medium.com/@shahriyarshahrabi/volumetric-grass-shader-28ebb9f6860b
• Brute Force Games: grass examples - bruteforce-games.com/post/grass-shader-devblog-04
• BoxCat Games: music "Love Of My Life" - freemusicarchive.org/music/BoxCat_Games/Nameless_the_Hackers_RPG_Soundtrack/BoxCat_Games_-_Nameless-_the_Hackers_RPG_Soundtrack_-_16_Love_Of_My_Life
#GameDev #IndieDev #Unity
![Movement Messages! Cannoneer, Unity Game Dev Log [Part 6]
Im making a game in Unity! Please subscribe so you wont miss a video!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK
Instagram ► https://instagram.com/nedmakesgames Movement Messages! Cannoneer, Unity Game Dev Log [Part 6]](https://i.ytimg.com/vi/cDRy538YmXM/mqdefault.jpg)
![Smooth Terrain, Finally! Tactical Lizard Tamer, Unity Game Dev Log [Part 150]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Smooth Terrain, Finally! Tactical Lizard Tamer, Unity Game Dev Log [Part 150]](https://i.ytimg.com/vi/cYNqHTAABlw/mqdefault.jpg)


![Picking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Picking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]](https://i.ytimg.com/vi/dOU2QMkhJGE/mqdefault.jpg)
![Loading Audio Mixers and Sources! Tactical Lizard Tamer, Unity Game Dev Log [Part 115]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Loading Audio Mixers and Sources! Tactical Lizard Tamer, Unity Game Dev Log [Part 115]](https://i.ytimg.com/vi/dh8YtcmepIU/mqdefault.jpg)
![Easier Pathfinding! Tactical Lizard Tamer, Unity Game Dev Log [Part 156A]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Easier Pathfinding! Tactical Lizard Tamer, Unity Game Dev Log [Part 156A]](https://i.ytimg.com/vi/emwaYmel64E/mqdefault.jpg)
![Modeling a Nose! Tactical Lizard Tamer, Unity Game Dev Log [Part 99]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Modeling a Nose! Tactical Lizard Tamer, Unity Game Dev Log [Part 99]](https://i.ytimg.com/vi/erXgCiU5A-U/mqdefault.jpg)
![Egg Dino Walks! Tactical Lizard Tamer, Unity Game Dev Log [Part 120]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Egg Dino Walks! Tactical Lizard Tamer, Unity Game Dev Log [Part 120]](https://i.ytimg.com/vi/f88iR79ifuc/mqdefault.jpg)
![Randomness and 3D Rotations! Tactical Lizard Tamer, Unity Game Dev Log [Part 140]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Randomness and 3D Rotations! Tactical Lizard Tamer, Unity Game Dev Log [Part 140]](https://i.ytimg.com/vi/fDga-g4gQhQ/mqdefault.jpg)
![Tinkering with Events! Tactical Lizard Tamer, Unity Game Dev Log [Part 153]
Im making a game in Unity! It will be a mixture of Pokemon teambuilding on a Fire Emblem / Final Fantasy Tactics style-map. Players will be able to mod in their own monsters and battle online!
Twitch ► https://www.twitch.tv/nedmakesgames
Twitter ► https://twitter.com/nedmakesgames
Blog ► https://nedmakesgames.tumblr.com
Discord ► https://discordapp.com/invite/ubxSVBK Tinkering with Events! Tactical Lizard Tamer, Unity Game Dev Log [Part 153]](https://i.ytimg.com/vi/fFcoH3RNY-M/mqdefault.jpg)