more backward compatibility for GeomVertexWriter
Add p3d_Material in GLSL