Two runtime virtual textures for landscape near and far detail

IT WORKS!! Just figured it out. The only thing that isn’t perfect is that I don’t have control over the UV scale of each individual material layer, Mountains, Sand and Soil etc. But I have succeeded in getting RVT to blend between two different scales. One for normal scale and one for in the distance. Its actually super simple, and thanks to AhoyGame for the idea. I just used two different “RVT sample nodes” and lerped the outputs together with my distance blend voodoo. One RVT sample I left the input UV empty so it is just the plain RVT and the second I have added landscape Coords to to adjust the scale.

Edited: I had trouble getting the individual materials to scale correctly due the RVT being just one big texture. My work around atm is I have made a second Landscape layer blend, that i then break and lerp with the RVT sample outputs. In this second Landscape layer blend node I plug in all my scaled up versions to their correct layers and the layers that I don’t use distance blend on I just make material attributes from the RVT sample node and plug that in instead.

Hope that makes sense and this thread helps anyone else looking to do the same.


3 Likes