Fixed the texture3d coordinates conversion, but something is making the ray stop at some point...