Home | History | Annotate | Download | only in shadow

Lines Matching refs:light

34 import com.jme3.light.DirectionalLight;

35 import com.jme3.light.Light;
36 import com.jme3.light.PointLight;
41 * Creates a camera according to a light
42 * Handy to compute projection matrix of a light
48 private Light target;
50 public ShadowCamera(Light target) {
58 * Updates the camera view direction and position based on the light
61 if (target.getType() == Light.Type.Directional) {