blenderproc.lighting package¶
Module contents¶
-
blenderproc.lighting.
light_suncg_scene
(lightbulb_emission_strength=15, lampshade_emission_strength=7, ceiling_emission_strength=1.5)¶ Makes the lamps, windows and ceilings object emit light.
Parameters: - lightbulb_emission_strength (
float
) – The emission strength that should be used for light bulbs. Default: 15 - lampshade_emission_strength (
float
) – The emission strength that should be used for lamp shades. Default: 7 - ceiling_emission_strength (
float
) – The emission strength that should be used for the ceiling. Default: 1.5
- lightbulb_emission_strength (
-
blenderproc.lighting.
light_surface
(objects, emission_strength=10.0, emission_color=None)¶ 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.
- objects (