Balancing Light Sources

AmbientLight resembles the outdoors on a very overcast day—the type of day where you know the sun is up there somewhere, but that's about it. You can still see things around you, but everything is illuminated equally and there are no shadows. We experience ambient light because the molecules in our atmosphere bounce available light among themselves.

AmbientLight defines no public properties on its own but inherits a Color property, which is the only property defined by the abstract Light class. The Color property is white by default.

You can set the Color property of AmbientLight to any of the 141 static read-only properties defined by the Colors class. (The transparency channel of the Color property is ignored, so the

Get 3D Programming for Windows® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.