title: AR with iOS: putting a light in the scene makes everything black?
body: <p>Ok, I am trying desperately to achieve this sort of warm lighting on my objects when added to my ARScene in Swift/Xcode - warm lighting and little glowing lights around:</p>
  
  <p><a href="https://i.stack.imgur.com/P6q2e.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P6q2e.jpg" alt="enter image description here"></a></p>
  
  <p>To be clear, I do NOT want the objects I add to my scene to look like they belong in the surrounding room. I want them to stand out/ look warm and glow.All the tutorials on ARKit teach you how to mimic the lighting of the actual room.</p>
  
  <p>Xcode has several lighting options, pulling from the surroundings gathered by the camera because with:</p>
  
  <pre><code>if let lightEstimate = session.currentFrame?.lightEstimate
  </code></pre>
  
  <p>I can print out the warmth, intensity, etc. And I also have these properties currently set to match the light of room:</p>
  
  <pre><code>sceneView.automaticallyUpdatesLighting = true
  extension ARSCNView {
  
      func setup() { //SCENE SETUP
          antialiasingMode = .multisampling4X
          autoenablesDefaultLighting = true
          preferredFramesPerSecond = 60
          contentScaleFactor = 1.3
  
          if let camera = pointOfView?.camera {
              camera.wantsHDR = true
              camera.wantsExposureAdaptation = true
              camera.exposureOffset = -1
              camera.minimumExposure = -1
              camera.maximumExposure = 3
          }
      }
  }
  </code></pre>
  
  <p>I have tried upping the emission on my object's textures and everything but nothing achieves the effect. Adding a light just turns the objects black/no color.</p>
  
  <p>What is wrong here?</p>