Does anyone know how to use the [Landscape Physical Material Output] material node?
Can I use it with a typical Physics Material setup to detect LineTrace hits on white areas of a landscape mask connected to this node?
My all-in-one landscape material doesn’t use separate layers and I’m trying to detect puddle-area hits like this: https://youtu.be/r_xRTBOMvJw?t=222
I tried connecting a monochrome puddle mask, but it didn’t do anything, so I’m not sure if that is the correct way to use the node or if it can even do what I hope it does.
The only references I could find are below, but they don’t have any info about how to actually use the node:
Update:
Using a ‘Physical Material Mask’ may be an alternative solution so I’ll consider that Plan B if the ‘Landscape Physical Material Output’ node isn’t the way to go.
I would still like to know what [Landscape Physical Material Output] does, but in the meantime, I solved my problem by using an additional layer as a puddle splat map instead of generating procedural puddles. I won’t be able to dynamically shrink/grow my puddles, but it’s a fair compromise.
I tried to figure out how to get this node to work and almost gave up until I ran into a video someone posted on Twitter with a basic usage example. Here’s [the video][1] (while the text is mostly in Japanese, it’s pretty easy to understand what the person does).
Basically, for each physical material you’re adding to the output node you plug in a corresponding layer sample/mask you want to assign it to. I tried to replicate what the person who posted the video did (see below) and it worked.
Thanks for the quick reply. For now I am happy that it is introduced in 4.26. Strange that is hasn’t been there before. Wonder how other “auto landscapes” have implemented this. I think have a workarround tough for other UE4 versions if you are interested. Simply output the masks on separate layers and apply a physical material on these layers.
Great to see some activity on the anwserhub, haven’t been here for years after UE4 went free.