picogl.core.setup.lighting

This module provides functionality to set up OpenGL lighting.

The module enables basic lighting features in OpenGL and initializes a light source with specified properties such as position, ambient, diffuse, and specular components. It applies these properties to the primary light in the scene.

Functions

gl_setup_lighting()

Set up lighting

Module Contents

picogl.core.setup.lighting.gl_setup_lighting()[source]

Set up lighting