Added support for texture modifiers in quad primitive