This is a read-only mirror of pymolwiki.org

Light count

From PyMOL Wiki
Jump to navigation Jump to search

Overview

set light_count defines the number of light sources.
Setting to 0 or 1 removes any directional light source resulting in no shadows. Light_count does affect ambient lighting.

Syntax

set light_count, <integer>                          #default 2

PyMol API

cmd.set(light_count,int sources)


Example

See Also

Light