Merged related deferred lighting code into the original viewrender, fixing various render problems (since we only want to blend the lighting with the lightmaps).