Commit cacbf2d8 authored by iSergio's avatar iSergio
Browse files

Added lambertDiffuseMultiplier property to Globe object to enhance terrain lighting

parent e993d7b2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -111,6 +111,12 @@ public class Globe {
     */
    @JsProperty
    public ImageryLayerCollection imageryLayers;
    /**
     * A multiplier to adjust terrain lambert lighting. This number is multiplied by the result of czm_getLambertDiffuse in GlobeFS.glsl. This only takes effect when enableLighting is true.
     * Default: 0.9
     */
    @JsProperty
    public double lambertDiffuseMultiplier;
    /**
     * The distance where lighting resumes. This only takes effect when
     * enableLighting is true. Default: 9000000.0