conditioning shader updates