More work on deferred renderer. This is not a working state.