Removing shaders from resources