Instead of testing ctx->_TriangleCaps for flat/smooth shading, just use ctx->Light.ShadeModel
3 files changed