Create a Water Material in UE5 | Unreal Engine 5 Beginner Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] so in today's video we are going to create a water material inside unreal engine 5. this is going to be a very basic of beginner level video so i'm gonna explain everything and by the end of the video you're gonna have this water material before i start with the video i would like to give a huge shout out to all the members and the patrons so thank you so much for your support it really means a lot also you can get this water shader on my patreon so if you want that i will leave a link down in the description okay so i have set up a sample project right here so let's start by adding a plane so we are going to add the water material onto this plane so let's create our water shader so you can right click in the content browser and then you can add a material you can click the material and drag it onto the plane to apply the material and now simply double click to open this material now here firstly you need to select the material output node right here and after that you need to go right here and change the shading model to single layer water now this is a special shading model used to create a water materials so we are going to use the single layer water shading model after changing the shading model it will give you a warning so right click and we need to add this node this is called the single layer water material output node this will give you all the special functionality for creating our water now let's define some of these pbr properties so i'm going to create a scalar parameter and i'm gonna connect that into the base color and the opacity so we have zero base color and zero opacity next i'm gonna create another scalar parameter and you can change the value to one i'm going to connect that to the specularity and the refraction so now that we are done defining all the pbr properties let's take a look at the single layer volume material node so in this node we have four different properties so in this video we are only going to use the absorption coefficient so this is basically the absorption color so we need a vector right here so i am going to right click and create a vector4 and this is a color so i'm going to add a multiply to like increase the strength of this and from the multiply you can add a scalar parameter so this scalar parameter is basically the multiplier i'm going to call it water darkness i'm going to set this to a value of 10 after that from the multiply you can add a divide node and we are going to divide this by a hundred we are dividing this by 100 because we need a very small value for the absorption coefficients so like this is a very small float value we are going to connect that into the absorption coefficient and in the material output you can see that we have something like we have a translucent material after that you can change the color to a red color now this is the color that is going to be absorbed by the water shader after that you could increase the water darkness to about 20. so just save this and if you go back in the viewport you will see that we have something that looks like water so our water looks good but we are lacking that animation this is currently very static so we are going to use a normal map for this you can download this normal map for free so i'll leave a link down in the description so you just need to add this normal map right here and connect it into the normal slot if you go back into the viewport you can see that our water has a lot of detail so we have some detail in the water this looks pretty good now let's animate the water so for animation so we're going to use something called a panner node so for the coordinate i'm going to add a texture coordinate so you can search for that so the texture coordinate will help you to like tile this texture so you can tile this five times on the u and the v so you can change the uv scale using this after that let's add a time input node after that let's add a scalar parameter for the speed so i am going to change this to about 0.1 and if you go back in the viewport you can see that our waves are moving it is always a good practice to create a material instance from your master materials you can apply the material instance to the plane and the material instance allows you to like change these values so this was a quick and easy way to create a water shader inside unreal engine 5. so i hope you like this video again you can download the finished project file on my patreon if you learned something leave a like down below subscribe to the channel for more videos like this and that's it i'm gonna see you in the next video [Music] you
Info
Channel: pinkpocketTV
Views: 36,975
Rating: undefined out of 5
Keywords: ue5, unreal engine 5, unreal engine, ue5 tutorial, ue5 beginner tutorial, ue5 beach tutorial, ue5 water material, ue5 water, ue5 water shader, unreal engine 5 tutorial, unreal engine 5 water, unreal engine 5 stylized water, ue5 single layer water, ue5 simple water material, ue5 beach scene, ue5 nordic beach, ue5 beach, ue5 translucent material, ue5 glass material, ue5 material tutorial, ue5 stylized water, Create a Water Material in UE5, nanite, lumen
Id: 6JFBL__239M
Channel Id: undefined
Length: 6min 12sec (372 seconds)
Published: Fri Sep 16 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.