, setupOnly=False)[source]

Use specified lights in successive rendering operations. All lights will be transformed using the present modelview matrix.

  • lights (List of Light or None) – Descriptor of a light source. If None, lighting is disabled.

  • setupOnly (bool, optional) – Do not enable lighting or lights. Specify True if lighting is being computed via fragment shaders.

Back to top