Environment.UseShaders Property

If true, the rendererType.OpenGL renderer uses Phong shading for better lighting, has the DisplayModeSettingsRendered.PlanarReflections with a fading out effect and better performances for the shadowType.Realistic shadows.
Public Property UseShaders() As Boolean
This language is not supported or no code example is available.
public bool UseShaders {get; set;}
This language is not supported or no code example is available.

Property Value

bool
Remarks
 
With the rendererType.Direct3D renderer it doesn't have any effect.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition