Reworked lighting rendermode.