prepare for deferred shaders