How do I get 'Opacity Mask' to show up in the VehicleDemo landscape material?

Hi,

I am trying to create a level using assets from the VehicleDemo. For my landscape I am using the M_Landscape_SandRock material. I want to add a cave to the level using the visibility tool but can not get the ‘Opacity Mask’ output to show up and currently only have ‘Material Attributes’.

I have tried using a different material to add the landscape hole but from my experience and doing a bit of reading it looks like there is a bug where this affects entire sections of the landscape as opposed to just the area with the hole.

Here is the option I currently have -

Any help would be greatly appreciated.

Thanks.

The answer interest me, too

I realize this question is like… two years old?

However!

I played around with this today and found the answer, so I figured I’d post it here in case someone else stumbles upon this thread.

Inside the M_Landscape_SandRock material, if you zoom out and back up a bit, you’ll find where the material blends the pebble’s base material with the rest of the sand and rocks. What you need to do is override the base material’s opacity mask entering this blend with the landscape visibility mask.

To do so, use the MatLayerBlend_OverrideOpacityMask node before the base material blend, like so:

Finally, you will also need to set the material’s Blend Mode to Masked, in the default details panel.

I hope you find this helpful, two years later… lol.