add temp buffer to do deferred shading