SLGRenderer: fixed several problems in Metal2 material translation

--HG--
branch : slg_renderer