You can do it by changing Z offsets of the texture, like if you were changing an object's height.