Distance Fields Shoreline Material
- Exposure: public
- UE Version: 4.23
ctrl + v
-
Changed default values to better serve quick drag & drop deployment.
-
Variable categories & clearing up names
-
added texture object parameters for noise
-
Initial
6 comments
-
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!
-
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
-
Hey there, here is a quick video that shows how to enable this function:
https://www.youtube.com/watch?v=aDIhEeZd04w
Cheers!
-
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
-
i dont know what i did wrong but mine is completely black
-
SADraco mine started off black as well and after I deleted it and copied it again it turned white
hippowombat
April 7, 2020, 6:53 pm