Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 февраля 2021 г. 21:58:49
00:16:26
Яндекс.Метрика