blenderproc.python.lighting.SurfaceLighting module

Allows to add a light property to the surface of objects. The surfaces are only indirectly lighting up the scene.

blenderproc.python.lighting.SurfaceLighting.light_surface(objects, emission_strength=10.0, emission_color=None)[source]

Add emission shader to the materials of the given objects.

Parameters:
  • objects (List[MeshObject]) – A list of mesh objects whose materials should emit light.

  • emission_strength (float) – The strength of the emitted light.

  • emission_color (Optional[list]) – The color of the light to emit. Default: Color of the surface.