I'm playing around with SKLightNodes and attempting to have an object (sun) shine light on anything around it. The problem is that when I add the SKLightNode to the sun node, the SKLightNode only appears in the very center of the sun. I've tried scaling the SKLightNode, but it seems to have no effect on the size or range of the SKLightNode. Here is how The SKLightNode is implemented.
let light = SKLightNode()
light.categoryBitMask = 1;
light.falloff = 1;
light.ambientColor = UIColor.whiteColor();
light.setScale(50)
star!.addChild(light)
If anyone has any input on how I can increase the effectiveness of the light source, I sure would appreciate it.