Preparations for deferred shading