Landscape Material Video Tutorial Part 2 – Procedural Puddles

Posted on Posted in GameDev

The second part in our landscape tutorial series is online! It covers procedural puddles!

Feel free to check it out and let us know what you think 🙂

2 thoughts on “Landscape Material Video Tutorial Part 2 – Procedural Puddles

  1. Thanks for the tutorial. I seem to get an error at the very end of the second tutorial (right before you paint puddles on the landscape)

    Function puddles_material_layer (Node If) If input A must be of type float

    I get this error in the main terrain material not in the puddles material function. I believe the cause is that the lerp output of my height-mask is a texture when it needs to be a scalar (to match my scalar material expression input in the puddles material)

    Is it possible to map the lerp output to a scalar or is it more likely I screwed up in my puddles material and this is just a symptom? If the blueprints are available somehow I could also manually compare mine to yours.

    1. Hi! Glad you like the tutorial! 🙂
      Are you using a single channel (R, G, B or A) as the input for your if? That should fix the error. Let me know if this doesnt help. It works for me since my whole heightmap is stored in the R channel of a packed texture.

Leave a Reply