Implementation of a technique for updating the prepass method of a material once. Lights and cameras related stuff need to be set just one time during the update process, not in every materials instances