"Description"><a id="description"></a><h2>Description</h2><p><code class="function">glLightModel</code> sets the lighting model parameter.
        <em class="parameter"><code>pname</code></em> names a parameter and
        <em class="parameter"><code>params</code></em>
        gives the new value. There are two lighting model parameters:</p><div class="variablelist"><dl><dt><span class="term">
                    <code class="constant">GL_LIGHT_MODEL_AMBIENT</code>
                </span></dt><dd><p><em cla