picogl.backend.modern.core.setup.lighting

Functions

gl_initialize_background([bg_color]) → None

Enable depth test, set depth func, and set the clear color.

Module Contents

picogl.backend.modern.core.setup.lighting.gl_initialize_background(bg_color: picogl.core.rgbcolor.RGBAColor = RGBAColor(0.0, 0, 0.4, 0)) → None[source]

Enable depth test, set depth func, and set the clear color.