Debugging layered textures