M⁴ Documentation

  1. Home
  2. Docs
  3. M⁴ Documentation
  4. Runtime Virtual Texturing (RVT)
  5. RVT: Terrain Blending (for objects)

RVT: Terrain Blending (for objects)

One of the great things about Runtime Virtual Texturing is that if we’re using a landscape that’s already set up for it, almost any object that we’re wanting to place on our terrain can be seamlessly blended with it.

RVT blending will use the texturing that is already on the terrain and apply that to the bottom of an object in order to blend it almost perfectly.

This combined with something called Pixel Depth Offset to fade the edges further, can create (in most cases) a seamless transition between your objects and the terrain.

The image to the right showcases this technique on Megascan rock assets, notice how the edges of the rock meshes fade away into the terrain.

Important Notes:

To initially setup RVT with your level, follow this updated and easier guide, we have a widget for that now.

In the video below it also shows that you need to use preset 1 or 2 (or an RVT Based Preset) in order for this to work, that is no longer true, you can use ANY preset with it that you choose and it’ll work.

The blending functions can be found within your “M4/Extras/RVT-LandscapeBlending” folder.

If the video is not showing up for you, for whatever reason, click this link here to go to it on YouTube

How can we help?