SW : gstate.isMaterialAmbient/Diffuse/SpecularEnabled()