Added support for multi-level polygon offset

Allow effect generator to tak multiple levels of polygon offsetting.