by hippowombat @ April 7, 2020
3 0 | 6 Comments
Material
Unreal Engine Version: 4.23
ctrl + a
and after do ctrl + c
. In Unreal Engine blueprint editor, paste it with ctrl + v
Changed default values to better serve quick drag & drop deployment.
Variable categories & clearing up names
added texture object parameters for noise
Initial
You have to be connected for adding comments
hippowombat - Last edit on April 8, 2020 at 18h22
Note: This requires the Engine Content material function "Distance Field" to be marked as exposed to library. Typically I achieve this by copying the Distance Field function from Engine Content into my own content folder, opening it up, marking it as "expose to library" and then using it in the material above.
You'll also require some images for the shorelines & noise offset. The shorelines texture can just be a black & white texture with horizontal lines going across, and then the noise texture can be a basic perlin noise.
Lastly, please make sure your water mesh has, "Affect Distance Field Lighting," under the lighting section in the details panel, set to FALSE.
Cheers!
SADraco -
hey, there I'm stuck at the part where ya mention:
This requires the Engine Content material function "Distance Field" to be marked as exposed to library. Typically I achieve this by copying the Distance Field function from Engine Content into my own content folder, opening it up, marking it as "expose to library" and then using it in the material above.
where do I find this? can you show please how this material function bp looks like?
Thanks in advance
hippowombat -
Hey there, here is a quick video that shows how to enable this function:
https://www.youtube.com/watch?v=aDIhEeZd04w
Cheers!
ka2851 -
Hey hippowombat, this blueprint is amazing but when i put it in my project i end up with a solid white material, I was wondering if you had any ideas as to what i am doing wrong or if i need to change anything in the material details to get this to work?
I have setup the distance filed function as suggested as well as used appropriate maps and set the affect distance field lighting to false on the water mesh.
thanks in advance
SADraco -
i dont know what i did wrong but mine is completely black
ka2851 -
SADraco mine started off black as well and after I deleted it and copied it again it turned white