issue sampling a runtime virtual texture in a masked shader.

I want to sample a virtual texture to blend grass with the ground. However sampling a runtime virtual texture in a masked shader gives me some weird issues.

Whats up with this? Im using ue4.27.

I found a hacky fix for this.
I put a small value in the pixel depth offset in the shader. for some reason this causes the shader to render properly.

1 Like