Set the intensity of a DirectionalLight

Hello,

this question might be really stupid, but I can’t seem to find any documentatino on this. I want to set the intensity of a DirectinalLight. In the Wiki here it says, that one can set the direction and the intensity. I assumed, the intensity might be set with the vector length of the direction vector, but it has no affect. So: How do I set the intensity of the directional light?

Cheers :slight_smile:

http://hub.jmonkeyengine.org/javadoc/com/jme3/light/Light.html#setColor(com.jme3.math.ColorRGBA)

Thanks for that fast help!! I somehow assumed the values of RGBA would be limited to a range of 0-1 :slight_smile: turns out they are not …