Support for different resolution occlusion buffer to viewport. Bit of refactoring. Dropped the mipmap idea for now.