SceneKit per vertex color
I've been playing with SceneKit, but I can't figure how to create a per vertex color geometry. So to be more precise, I would like to do this : http://openglbook.com/chapter-2-vertices-and-shapes.html Let me know if it's not clear Thanks. Pour info : sceneView = SCNView(frame: sceneContainer.bounds) sceneView.scene = SCNScene() sceneView.allowsCameraControl = true sceneView.autoenablesDefaultLighting = true sceneView.showsStatistics = true sceneView.backgroundColor = UIColor.darkGrayColor() self.sceneContainer.addSubview(sceneView) // Vertex let vertices: [SCNVector3] = [SCNVector3(0, 0, 0),