reworked render pipeline and lightning effect