Reduced calls to getMaterial
Simplified resolve sequence