I am trying to achieve for a mesh in on iOS. I am confused by the documentation as there seem to be multiple ways to make a mesh :

  • Use channel of UIColor via SCNMaterial.(|emission|ambient|...).contents
  • Use SCNMaterial.transparency (a CGFloat from 0.0 to 1.0)
  • Use SCNMaterial.transparent (another SCNMaterialProperty)
  • Use SCNNode.opacity (a CGFloat from 0.0 (fully transparent) to 1.0 (fully opaque))


  • Is there any detailed description of the color math somewhere?
  • What is the common way to add transparency (per object, not via textures/per vertex)?
  • How does SCNMaterial.transparent interact with the other color channels such as diffuse?
  • Is it true that alpha channel must be premultiplied as suggested in

Source link


Please enter your comment!
Please enter your name here