Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLightModel Class / GlobalAmbientLight Property

In This Topic
    GlobalAmbientLight Property
    In This Topic
    Specifies the color of the global ambient light.
    Public Property GlobalAmbientLight As NColor
    Dim instance As NLightModel
    Dim value As NColor
    instance.GlobalAmbientLight = value
    value = instance.GlobalAmbientLight
    public NColor GlobalAmbientLight {get; set;}
    The global ambient light affects the brightness and color of the whole 3D scene and is not dependent on light sources. It takes effect only when lighting is enabled. Note that since all object are influenced by the global ambient light it is recommended to assign shades of gray to this color because otherwise the scene will have a color attenuation.

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also