title: Change the color or texture of a SCNText node object (Swift - Scenekit)
body: <p>How do I set the texture of a SCNText object? This is what I have and nothing changes in the appearance:</p>
  
  <pre><code>// myNode is a working SCNText element 
  
  let mat = SCNMaterial()
  met.diffuse.contents = UIImage(contentsOfFile: "texture.png")
  myNode.geometry.firstMaterial = mat
  </code></pre>