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


In This Topic
    GlobalAmbientColor Property
    In This Topic
    Specifies the color of the global ambient light.
    Syntax
    'Declaration
     
    
    Public Property GlobalAmbientColor As NColor
    'Usage
     
    
    Dim instance As NLightModel
    Dim value As NColor
     
    instance.GlobalAmbientColor = value
     
    value = instance.GlobalAmbientColor
    public NColor GlobalAmbientColor {get; set;}
    Remarks
    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.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, 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)

    See Also