Bug in texture3D updating each frame.