I don't know since which IOS version but when I use a SKLightNode now then other notes with the same lighting mask are simply black. Only the ambient color has an effect but the color and falloff parameters didn't light the node as expected.
This is the case when I use the game-scene editor or add all sources programmatically.
Source to create light:
let light = SKLightNode()
light.falloff = 0.5
light.name = "Lights"
light.lightColor = UIColor.white
light.ambientColor = UIColor.darkGray
light.categoryBitMask = 1
self.addChild(light)
Source to create sprite note:
let wall = SKSpriteNode(imageNamed: "SingleWall6")
wall.lightingBitMask = 1
self.addChild(wall)
What do I wrong? Or which other parameters, concepts I have to use?