AddLight /Environment and display

void AddLight(vector3 pos, vector3 color, float rangeRayInPixels, bool castShadow)

Adds an odd dynamic light to the scene. To keep the light on it must be added at every frame. More about odd lights.

Sample:

void onSceneUpdate()
{
    vector3 lightPos(100, 300, 10);
    vector3 red(1, 0, 0);

    AddLight(lightPos, red, 100.0f, false);
}