Hey! Took me a bit to get back to this. I’m assuming you have the basics of RVT setup with this. If not let me know and I’ll add that setup as well.
Plug this series of nodes up on your grass material. The scalar parameter will determine how much to apply the occlusion.
Set your default mask to zero by putting this in your landscape. I’m using the roughness channel but any black and white masking channel will do.
Then you want to run that mask into your landscape grass output.
For any meshes you want to apply the effect to, run a constant of 1 into the RVT output to ensure the RVT takes them into account.
So far my object looks like this.
Not doing anything. The last step is to tell the object to render to the Virtual Texture. In the object properties Find this area.
Click the plus to add an element. Select your RVT.
Now it should look like this.
If it doesn’t work right away you may need to tweak the grass parameter.
Hope this helps!