Added options for texture wrapping.