OpenSCAD only does geometry. The closest it gets to attached material properties is that you can specify a RGB color for each object - and that's not even preserved by all export formats.