We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Platform : WPF
Category : 3D Graphics

How lights are useful in 3D graphics ?

Lights are similar to lights in real life. Light objects are used to illuminate a part of a scene. Lights can be used to create shadow effects. In a 3D scene at least one light has to be added to make the scene visible. WPF has four different types of lights with unique functionalities.

The following are the types of light available in WPF.

  • AmbientLight - provides uniform lighting to all the objects in a 3D scene.
  • DirectionalLight - It is like a distant light source. It does not have a location but has a direction.
  • PointLight - It illuminates like a nearby light source. It has a location and provides light effect from the location and objects in the scene are illuminated based on the location and position of the point light.
  • SpotLight - It is similar to a pointlight. It provides illumination in a cone shape. The "InnerConeAngle" and "OuterConeAngle" properties determine the illumination of the objects in the 3D scene.
  • Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon