I’ve been trying to figure out how the M_TilingDisplacementTest_01_LAKE material works, in particular the Landscape_Intersection_Blend material function. I understand the blueprint for it and everything, but what I cannot for the life of me figure out is why the final material seems to use a sort of ‘static’ representation of the landscape and even figure out how to update this.
Then the material doesn’t blend correctly anymore. It’s almost like at some point the layout of the landscape is calculated once and then stored in a cache and this is what the material looks up in. How do I force it to update this, so the material properly calculates the shoreline along landscape that has been moved?
Combining that heightmap with the 4 values taken from Parameter collection, that’s effectively the mask for the entire landscape in a nice pretty range between 0 and 255. All I had to do was update the Corner1 and Corner2 values to the min and size of my own level and then update the heightmap there to one that matches my own landscape. After I did that and rebuilt the shader, everything works perfectly.