Changed the examples so they are compatible with the new shader/material systen.