Point of light brightness


  I'm trying to build a star with a few planets around it, how do I set the brightness of a point of light … I want the light to extend for beyond its origin, as it is right now it doesn't seem to extend very far.

thanks for the answer … I'll give it a try.

This post is way old, but here's the answer:

PointLight pl = new PointLight();
pl.setAttenuation(true); //we want to attenuate this light.
//attenuation is making the light die off at further distances
//from the source.

//These values determine how much loss there should be in
//relation to distance from the source. Make them smaller for
//the light to be brighter and larger for the light to be dimmer.

I know this post is a few months old but for anyone googling, like me, the line:


seems to have changed to:


Works otherwise…