picogl.backend.legacy.core.camera.lighting

Setup lighting

Functions

set_second_light_state(→ None)

set_second_light_state

set_background_color(→ None)

set_background_color

setup_lighting(→ None)

setup_lighting

setup_lighting_mode_zero(backend)

Module Contents

picogl.backend.legacy.core.camera.lighting.set_second_light_state(second_light_state: bool) None[source]

set_second_light_state

Parameters:

second_light_state – bool Whether the second light is on or off

Returns:

None

Second light

picogl.backend.legacy.core.camera.lighting.set_background_color(show_white_background: bool) None[source]

set_background_color

Parameters:

show_white_background – bool

Returns:

None

Choose bg color_array

picogl.backend.legacy.core.camera.lighting.setup_lighting(mode: int = 0) None[source]

setup_lighting

Parameters:

mode – int lighting gl_mode

Returns:

None

picogl.backend.legacy.core.camera.lighting.setup_lighting_mode_zero(backend: GLBackend)[source]