Adds material layering functionality