Wind Animated Grass In Unity URP Shader Graph Using Meshes! ✔️ 2020.3 | Game Dev Tutorial

Ned Makes Games
Ned Makes Games
21.7 هزار بار بازدید - 4 سال پیش - ✔️ Works in 2020.1 ➕
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3 🩹 Fixes for 2020.2 and .3:
► When you create a shader graph, set the material setting in the graph inspector to "Lit"
► "Albedo" has been renamed "base color" in the master stack
► Editing properties must be done in the graph inspector instead of the blackboard

Grass rendering is a challenging problem in many games. One way to take it is to use billboard or cross meshes. In this video, I explain how to animate such a mesh in Unity Universal Render Pipeline's shader graph and place grass prefabs in a pattern to naturally form a field.

👋 Subscribe for weekly game development videos!
https://www.seevid.ir/c/nedmakesgam...

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

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

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

✨Follow up videos
► Adding trample effects: Trampled Grass! Add Simple Interactio...
► Compute shader grass: Endless Fields of Grass in URP with a...

📚 Reference scripts
► GrassSpawner: https://gist.github.com/NedMakesGames...

⏲️ Timestamps:
0:00 Intro
0:28 Project setup
1:11 Shader graph
1:46 Adding wind
3:54 Placing in the world
6:12 Wrap up and credits

🎖️ Credits and references:
• Alan Zucconi, grass techniques: https://www.alanzucconi.com/2018/07/2...
• Casey Muratori, "The Nebraska Problem:" https://caseymuratori.com/blog_0011
• Salix alba, math to find circle intersections: https://math.stackexchange.com/questi...
• AmBrSoft, Circle Circle Intersection: http://www.ambrsoft.com/TrigoCalc/Cir...
• Christopher Figueroa, FPSController: https://github.com/kinifi/Unity-FPS-C...
• Unity Technologies, grass textures: https://assetstore.unity.com/packages...
• Lennart Demes, ground texture: https://cc0textures.com/view?id=Groun...
• Procedural Worlds, skybox texture: https://assetstore.unity.com/packages...
• Fabian Measures, music "『鯖江市日の出』Sabae Sunrise:" https://www.freemusicarchive.org/musi...

#GameDev #IndieDev #Unity
4 سال پیش در تاریخ 1399/07/23 منتشر شده است.
21,762 بـار بازدید شده
... بیشتر