Rendering Grass In Unity URP Using Noise and Geometry Shaders! ✔️ 2020.3 | Game Dev Tutorial

Опубликовано: 28 Октябрь 2020
на канале: Ned Makes Games
12,890
300

✔️ 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 make in games! In this series of videos, I am looking at a variety of ways to tackle it in Unity Universal Render Pipeline. This video shows one strategy of layering several noise textures to clip planes created by a geometry shader, creating depth.

👋 Subscribe for weekly game development videos!
https://www.youtube.com/c/nedmakesgam...

👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
►   / nedmakesgames  

🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io

🔴 Twitch ►   / nedmakesgames  
🐦 Twitter ►   / nedmakesgames  
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ►   / nedmakesgames  
👽 Reddit ►   / nedmakesgames  
🎶 TikTok ►   / nedmakesgames  
☕ Ko-fi ► https://ko-fi.com/nedmakesgames

🎬 Previous videos
► Grass in shader graph:    • Wind Animated Grass In Unity URP Shad...  
► Introduction to geometry shaders:    • Geometry Shaders Made Easy In Unity U...  

✨Follow up videos
► Compute shader grass:    • Endless Fields of Grass in URP with a...  

📜 Required scripts
► NMGGrassLayersHelpers.hlsl: https://gist.github.com/NedMakesGames...

📚 Reference scripts
► GrassLayers.shader: https://gist.github.com/NedMakesGames...
► GrassLayers.hlsl: https://gist.github.com/NedMakesGames...

⏲️ Timestamps:
0:00 Intro
0:37 Project setup
1:13 Simple shader
3:20 Extruding layers
4:56 Clipping with noise
6:34 Wind
7:34 Shadows
8:35 Wrap up and credits

🎖️ Credits and references:
• Shahriar Shahrabi: grass examples -   / volumetric-grass-shader  
• Brute Force Games: grass examples - https://www.bruteforce-games.com/post...
• CJT-Jackton: geometry shader examples - https://github.com/CJT-Jackton/URP-Ge...
• Rolemusic: music "The Little Broth" - https://freemusicarchive.org/music/Ro...

#GameDev #IndieDev #Unity


Смотрите видео Rendering Grass In Unity URP Using Noise and Geometry Shaders! ✔️ 2020.3 | Game Dev Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ned Makes Games 28 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,890 раз и оно понравилось 300 людям.