Implemented explicit sampling of direct lighting.