picogl.backend.legacy.core.camera.lighting

Setup lighting

Functions

set_fog_state(→ None)

set_fog_state

set_second_light_state(→ None)

set_second_light_state

set_background_color(→ None)

set_background_color

setup_lighting(→ None)

setup_lighting

Module Contents

picogl.backend.legacy.core.camera.lighting.set_fog_state(fog_state: bool, fog_density_value: float, fog_start_value: float, fog_end_value: float) None[source]

set_fog_state

Parameters:
  • fog_density_value – float

  • fog_end_value – float

  • fog_start_value – float

  • fog_state – bool

Returns:

None

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