Generate a Mesh Asset Using Compute Shaders in the Unity Editor! ✔️ 2020.3 | Game Dev Tutorial
✔️ Works in 2020.2 ➕ 2020.3
Compute shaders are scripts than run on the GPU and are specialized at solving problems that can be broken into many parts. If this describes a mesh you want to generate, they can do it super fast! In this video, I'll show you how to procedurally generate a mesh in the Unity Editor - using compute shaders - and save it as a mesh asset file.
👋 Subscribe for weekly game development videos!
► https://www.youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
► https://patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io
🔴 Twitch ► https://www.twitch.tv/nedmakesgames
🐦 Twitter ► https://twitter.com/nedmakesgames
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ► https://instagram.com/nedmakesgames
👽 Reddit ► https://reddit.com/u/nedmakesgames
🎶 TikTok ► https://www.tiktok.com/@nedmakesgames
☕ Ko-fi ► https://ko-fi.com/nedmakesgames
🎬 Previous videos
► Vertex/Fragment shader basics: https://youtu.be/7C-mA08mp8o
► Compute shader basics: https://youtu.be/EB5HiqDl7VE
✨ Follow up videos
► Improved blade grass: https://youtu.be/6SFTcDNqwaA
💬 Video transcript
► https://docs.google.com/document/d/1Tv18KN5tjgHfMQ10P0Htb2U_1GFhOunv21eAKaDxKg4/edit?usp=sharing
📚 Reference scripts
► https://gist.github.com/NedMakesGames/fef1bddca8061b21845dbe68d0cddfec
⏲️ Timestamps:
0:00 Intro
1:09 Project setup
1:41 The ScriptableObject
3:00 The inspector button
4:05 The compute shader
8:10 The dispatcher
12:35 The finished inspector
14:34 Testing
15:09 Wrap up and credits
🎖️ Credits and references:
• pharan: Mesh Saver - https://github.com/pharan/Unity-MeshSaver/blob/master/MeshSaver/Editor/MeshSaverEditor.cs
• James "Nihilore" Opie: music "Sleepwalking" - https://www.youtube.com/watch?v=NfMGQQYE1Kw
• freepik: Wrinkled paper texture - https://www.freepik.com/premium-vector/wrinkled-paper-texture_711440.htm
• Unity Technologies: GraphicsBuffer documentation - https://docs.unity3d.com/2020.2/Documentation/ScriptReference/GraphicsBuffer.html
#GameDev #IndieDev #Unity
Видео Generate a Mesh Asset Using Compute Shaders in the Unity Editor! ✔️ 2020.3 | Game Dev Tutorial канала Ned Makes Games
Compute shaders are scripts than run on the GPU and are specialized at solving problems that can be broken into many parts. If this describes a mesh you want to generate, they can do it super fast! In this video, I'll show you how to procedurally generate a mesh in the Unity Editor - using compute shaders - and save it as a mesh asset file.
👋 Subscribe for weekly game development videos!
► https://www.youtube.com/c/nedmakesgames?sub_confirmation=1
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
► https://patreon.com/nedmakesgames
🔗 Check out my website for a searchable list of tutorials!
► https://nedmakesgames.github.io
🔴 Twitch ► https://www.twitch.tv/nedmakesgames
🐦 Twitter ► https://twitter.com/nedmakesgames
🎮 Discord ► https://discordapp.com/invite/ubxSVBK
📸 Instagram ► https://instagram.com/nedmakesgames
👽 Reddit ► https://reddit.com/u/nedmakesgames
🎶 TikTok ► https://www.tiktok.com/@nedmakesgames
☕ Ko-fi ► https://ko-fi.com/nedmakesgames
🎬 Previous videos
► Vertex/Fragment shader basics: https://youtu.be/7C-mA08mp8o
► Compute shader basics: https://youtu.be/EB5HiqDl7VE
✨ Follow up videos
► Improved blade grass: https://youtu.be/6SFTcDNqwaA
💬 Video transcript
► https://docs.google.com/document/d/1Tv18KN5tjgHfMQ10P0Htb2U_1GFhOunv21eAKaDxKg4/edit?usp=sharing
📚 Reference scripts
► https://gist.github.com/NedMakesGames/fef1bddca8061b21845dbe68d0cddfec
⏲️ Timestamps:
0:00 Intro
1:09 Project setup
1:41 The ScriptableObject
3:00 The inspector button
4:05 The compute shader
8:10 The dispatcher
12:35 The finished inspector
14:34 Testing
15:09 Wrap up and credits
🎖️ Credits and references:
• pharan: Mesh Saver - https://github.com/pharan/Unity-MeshSaver/blob/master/MeshSaver/Editor/MeshSaverEditor.cs
• James "Nihilore" Opie: music "Sleepwalking" - https://www.youtube.com/watch?v=NfMGQQYE1Kw
• freepik: Wrinkled paper texture - https://www.freepik.com/premium-vector/wrinkled-paper-texture_711440.htm
• Unity Technologies: GraphicsBuffer documentation - https://docs.unity3d.com/2020.2/Documentation/ScriptReference/GraphicsBuffer.html
#GameDev #IndieDev #Unity
Видео Generate a Mesh Asset Using Compute Shaders in the Unity Editor! ✔️ 2020.3 | Game Dev Tutorial канала Ned Makes Games
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Tactical Lizard Tamer, Unity GameDev Log 8! Checking for error checksGamedev Moddable Chess Stream 17, lobby UI mania!Gamedev Moddable Chess Stream 25, making mods play nice!Gamedev Moddable Chess Stream 16, Lobby GUI and Networking!Trading Times! Cannoneer, Unity Game Dev Log [Part 4]Gamedev Moddable Chess Stream 26, squashing bugs! Part 1Tactical Lizard Tamer, Unity GameDev Log 64! Can we trust the server?Simpler Networking! Tactical Lizard Tamer, Unity Game Dev Log [Part 154]Tactical Lizard Tamer, Unity GameDev Log 49! Lua experimentsPicking a Map! Tactical Lizard Tamer, Unity Game Dev Log [Part 190]Chat Enters the Game! Twitch Concentration, Unity Entities Game Dev Log [Part 12]Tactical Lizard Tamer, Unity GameDev Log 41! Adding abilitiesMipmaps in Unity Part 2! Shaders, Bias, and Texture2DLOD! #Shorts Preview | Game Dev TutorialMovement Messages! Cannoneer, Unity Game Dev Log [Part 6]Feet, Toes, and Claws! Tactical Lizard Tamer, Unity Game Dev Log [Part 100]Deferred Toon Shader! Tactical Lizard Tamer, Unity Game Dev Log [Part 122]Moddable Chess Stream 39, Lua move magic!Ludum Dare Gamedev Log 1: Friday nightTactical Lizard Tamer, Unity GameDev Log 47! Now seeing the treesTactical Lizard Tamer, Unity GameDev Log 25! Starting designSimple Board Game with Entities! Unity Game Dev Log [Part 2]