Yeah, texture referencing helps a lot for stuff like this. Are you using a 3D texture or some type of texture projection? That would explain your results.