Refactored rendering configuration