Modular quad material implementation.