Unity Shader Graph Basics (Part 5 - Vertex Shaders)
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2024
- Vertex shaders can be used to modify or animate the shape of the mesh. In this tutorial, I explain what vertex shaders do and then we use Shader Graph to create a wave animation on a normally flat plane mesh.
I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions.
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/dan...
📰 Read this tutorial in article format instead: danielilett.co...
------------------------------------------------------------------------
📚 Get a copy of my shader book here (affiliate): www.dpbolvw.net...
✨ Grab my Hologram Shaders Pro package here (affiliate): assetstore.uni...
✨ Grab my Snapshot Shaders Pro package here (affiliate): assetstore.uni...
------------------------------------------------------------------------
💬 Join the Discord: / discord
💖 Support me on Patreon: www.patreon.co...
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/dani...
------------------------------------------------------------------------
This video series and your website have both been such life-savers. You're a great teacher and your explanations are incredibly clear and helpful. Thanks for all the hard work you do!
great series and explanations, i'm learning alot, please keep going. Thank you
Thank you so much for this awesome series!
This one was great mate, cheers ❤
hey! i love your series! keep going
Definitely planning on making more parts of this series!
Awesome to hear that man! Greetings all the way from Argentina@@danielilett
awesome series! it would be interesting to see the hacks to implement compute buffers and custom structs in HDRP shadergraph in the future
Thank you so much! This is really interesting and helpful. You are explaining very well!
the legend is back!
One thing I think that is missing is that the Wind Speed and Wind Strength properties should be set to see anything. Otherwise another great tutorial, thank you.
Yea this threw me off a bit as well. If you check the sample project he: (A) Puts the Wave Material on a *Plane* object (C) Uses Wave Speed *1* and Wave Strength *0.508*.
Awesome!!
Thank you so much, this is great! Hope you keep going
How would i update the mesh to the new normals
I'm new to Shader Graphs, and I wanted to ask, if I wanted to apply this vertex deformation to a sphere, so that it's surface undulated like that, what should I do?