Problem on RVTs

So I am trying to update RVT based on its previous value like this:

I am doing this on my landscape material which gives this result:

I am quite new to this topic and don’t understand how material graphs work that well, so if anyone cares to explain, I’ll be very glad.

Thanks in advance!

Hi, you cannot read from and write to the same RVT, so you cannot update it based on its previous value. And likely you also did not setup your RVTs correctly (maybe you missed to specify the virtual texture asset in the sample and/or output?), otherwise it would give you an error stating that you cannot read from and write to an RVT at the same time.

You could follow this quickstart guide here step by step, in the end you would have an working example that you can expand from: RuntimeVirtual Texturing Quick Start in Unreal Engine | Unreal Engine 5.0 Documentation

1 Like

I am trying to draw from one RVT onto the other one and do have a sample asset set and specified on which RVT to draw to.

As far as I know, you cannot draw from one RVT onto another. What effect are you trying to achieve?

I am trying to draw on an RVT to deform grass depending on it and then try to turn that deformation back to normal by the time.

Ok, then I think that should be possible to do from where you write to the RVT. So if you use e.g. a static mesh that writes to the RVT, then you could create a parameter inside the material of the static mesh and change that back to normal from blueprint (e.g. 1.0 for the parameter for full deformation and 0.0 for no deformation). Once the parameter is completely back to normal, you can destroy the blueprint actor and static mesh actor.

1 Like