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


In This Topic
    LocalViewpointLighting Property
    In This Topic
    Enables/disables local viewpoint lighting. The local viewpoint lighting controls the way OpenGL calculates specular reflection angles.
    Syntax
    'Declaration
     
    
    Public Property LocalViewpointLighting As System.Boolean
    'Usage
     
    
    Dim instance As NLightModel
    Dim value As System.Boolean
     
    instance.LocalViewpointLighting = value
     
    value = instance.LocalViewpointLighting
    public System.bool LocalViewpointLighting {get; set;}
    Remarks
    Turning this feature on will only take effect if there are specular reflections in the scene (specular reflections are produced by light sources and materials with bright specular colors). The result is a more realistic lighting effect for the price of a slight performance decrease. The default value is false.
    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