Vertex Displacement - Advanced Materials - Episode 35

5,067
0
2024-01-04に共有
In this shader tutorial for Unreal and Unity, I show multiple techniques for moving vertices around in the vertex shader - scaling along the normal, sine wave animation, displacement using a height map, and even a simple technique for snow accumulation by only displacing vertices on the top of an object.

------------------------------------

Here's last week's tutorial on sampling textures in the vertex shader:
   • Using Textures In The Vertex Shader -...  

Here's the playlist for all of the videos in the series:
   • Advanced Materials  

Shader Book Recommendations
www.bencloward.com/resources_books.shtml

------------------------------

Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Link_Code_3.php?q=1526

Background Music
Speo - The Little Things
   • The Little Things  

#UnrealEngine #shadergraph #Unity

コメント (17)
  • @PRodi_
    My favorite channel in 2024 - Thank you so much for all knowledge!
  • @RomanTimm
    I just cannot believe how much knowledge, insight and just general awesomeness you are giving out in your videos. Really, I feel that from all the videos that I've watched it's like a complete Uni course on shading! Thank yo so much.
  • Thank you, teacher. The best class I've seen in youtube about it
  • @DavidWKimber
    One of my favorite things about shaders! A lot of people will benefit from this Ben, thanks!
  • Great Thanks you. Keep doing what you are doing Ben. Happy New Year to you and your family. LOVE from India (other side of the world).
  • @andyetnotwant
    Hey Ben. Thanks for the vid. In Unreal you did scale by normal but not scale like you did in unity. I used Absolute World Position and transformed it from world to local space. Would that be the correct way of doing it?
  • @nikescar
    How do I modify the normals of the mesh when doing vertex displacement? When you move just the vertices the lighting doesn't match the mesh shape (for example when doing a sine wave water animation)
  • @Atl3m
    Omg Ben what a timing just what I needed today and you just made a tutorial on that exact ting. ❤🎉. BTW can we bump both top and bottom like you bump the top in the end bart of the video
  • Fantastic video, thank you!! One question though How can I make this work with flat shaded geometry? My game is low poly (check my channel) and every time I have tried some displacement, the geometry breaks up, just like the cube and cylinder example in your video… How can I get this effect on a low poly mesh?
  • Come bak to develope real advanced shaders Ben. This is very easy and you know.. I remind when you train us with complex and marvellouse mathemathical shader solutions.. Nice years.. Ben please conect again with these type of real awesome contents. You were a referent during lot years teaching these solutions.
  • @IbtesamSadiq
    in shader normal recalculation would be great after vertex dispacement.
  • is vertex shader good to make a deformation mesh? i mean can we use vertex shader for deforming purpose?
  • @gergolaky3624
    Hey Ben! Why do you need to recreate the shaders both in unity and unreal? If you make it in unity can't you just move it over to unreal? Don't both of them use DirectX/HLSL? Even if Unreal uses lets say.... Vulkan (or opengl in theory, to not overcomplicate it) wouldnt it be easy to change the HLSL code to integrate it into Unreal? So basicly instead of having to recreate the shader in both applications, just drag and drop it *ish?