add shading model to core.