Decals affecting landscape displacement?

Curious whether or not it’s possible to have decals project displacement on a landscape using Nanite tessellation? This would be very useful to add certain types of unique detail you might not want to repeat much or is hard to integrate into the landscape nicely via meshes.

J

I believe it is impossible. Decals read the depth buffer for projection and as a result they cannot alter anything that would impact the depth buffer. This includes nanite tesselation, WPO, PDO, and Opacity.

Edit: in the spirit of being more useful than just saying no…
You could spawn both a plane (for displacement) and the decal together. The plane would sample the height map, providing the geometry needed and the decal would provide the texture and allow for seamless blending into the landscape.

This way you can use your decals without the need for a unique mesh.

1 Like

I went ahead and made a video of the method I described, since I’m sure others will be interested.

1 Like

Very cool, thanks for the input and the video. Will dig into this :slight_smile: