Lines Matching refs:light
9 import com.jme3.light.PointLight;
73 //add some light so that it is visible
74 PointLight light = new PointLight();
75 light.setColor(ColorRGBA.White);
76 light.setPosition(new Vector3f(5, 5, 5));
77 light.setRadius(20);
78 rootNode.addLight(light);
79 light = new PointLight();
80 light.setColor(ColorRGBA.White);
81 light.setPosition(new Vector3f(-5, -5, -5));
82 light.setRadius(20);
83 rootNode.addLight(light);