I have a volume texture as slices next to each other in a 2D image. What would be the best way to linearly blend between the slices?
The prototype I have uses two samplers, one is offset along slice axis by one slice width, and I lerp between them. However I get rouge pixels at the seams here and there, probably due to some imprecision. So before I keep adding workarounds I was wondering if there is an established, “proper” way to do this.