package com.nucleus.light;

/**
 * Singleton class to handle global illumination
 * 
 */
public class GlobalLight {

    private Light light = new DirectionalLight(new float[] { 0, 5000, 10000 }, new float[] { 1, 1, 1 }, 1);

    private static GlobalLight globalLight = new GlobalLight();

    /**
     * Returns the singleton instance of the global light
     * 
     * @return
     */
    public static GlobalLight getInstance() {
        return globalLight;
    }

    /**
     * Returns a reference to the global light
     * 
     * @return
     */
    public Light getLight() {
        return light;
    }

}

@@ -178,15 +178,18 @@
  0, 
-5
+100
 000, 
-1
+50
 0000

Update global light position