I’m currently working on implementing the new virtual textures into my already existing landscape material. I’m utilizing an 8K texture atlas to be able to paint 16 2048px materials. I’m using the Frac node to unpack my atlas, and have been using a Custom node with the following HLSL to remove the seam artifacts:
Everything works as expected with the default Texture Object. Though since I would like to test out this material’s functionality with the new Virtual Texture samples, I was wondering if anyone knew of a way to replace SampleGrad with something that will work with Virtual Textures.