2 Simple Vertex Displacement Shaders in ShaderGraph | Unity Tutorial

Опубликовано: 08 Октябрь 2024
на канале: LlamAcademy
22,056
445

Learn some of the basics of Vertex Displacement in ShaderGraph in this beginner-friendly tutorial!

In this video you'll create 2 shaders to manipulate the vertex positions of an object to create a "breathing" effect and a displacement effect. I encourage you to take what you've learned here and play around with some more nodes to create other cool effects!

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/vertex...

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...

📚 Resources:
⚫ Learn more about ShaderGraph with my ShaderGraph Course: https://www.gamedev.tv/p/unity-shader...
⚫ Introduction to ShaderGraph: https://docs.unity3d.com/Packages/com...

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon:   / llamacademy  
🌟 YouTube Member:    / @llamacademy   or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00 Topic Introduction
00:51 Quick ShaderGraph Intro
01:37 Vertex Position Output
02:01 Basic Texturing Support
03:25 Vertex Manipulation 1 - Modify Positions Over Time
04:48 Add Input Controls
05:19 Add Speed Input
06:02 Object vs World Space
06:25 Shader 2 - "Breathing" Effect
08:20 "Breathe" only larger than original size
09:01 Control "Breathe" amount
09:31 A Common "Gotchya" with Vertex Displaced Shaders
09:51 Final Thoughts & Support LlamAcademy