pygfx.objects.AmbientLight
- class pygfx.objects.AmbientLight(color='#ffffff', intensity=0.2)
Bases:
LightAmbient light source.
A light that omnidirectionally illuminates all objects in the scene equally.
- Parameters:
color (Color) – The color of the emitted light.
intensity (float) – The light intensity. A value of
0.2corresponds to a dimly lit scene.