<table bgColor="#ffffff" border="0" width="100%">
<tbody>
<tr>
<td align="left" cellpadding="10">
<a href="index.html"><img alt="DirectionalLight Diagram" title="DirectionalLight Diagram" border="0" hspace="10" src="DirectionalLightFigure.png" width="303" height="156" align="left"/></a>
</td>
<td>
</td>
<td>
<p>
Light nodes make the appearance of geometry visible and viewable in a scene.
</p>
<p>
Lights illuminate geometry in a scene relative to the user's view.
Lighting nodes include
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#DirectionalLight" target="X3dTooltips" title="X3D Tooltip">DirectionalLight</a>,
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#PointLight" target="X3dTooltips" title="X3D Tooltip">PointLight</a>,
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#SpotLight" target="X3dTooltips" title="X3D Tooltip">SpotLight</a>,
and the active
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#NavigationInfo" target="X3dTooltips" title="X3D Tooltip">NavigationInfo</a>
headlight (which points along the user's viewing direction).
</p>
<p>
Environmental effects include
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#Background" target="X3dTooltips" title="X3D Tooltip">Background</a>,
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#TextureBackground" target="X3dTooltips" title="X3D Tooltip">TextureBackground</a>,
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#Fog" target="X3dTooltips" title="X3D Tooltip">Fog</a>
and
<a href="https://www.web3d.org/x3d/content/X3dTooltips.html#LocalFog" target="X3dTooltips" title="X3D Tooltip">LocalFog</a>.
Each set of light nodes, NavigationInfo nodes, background nodes and fog nodes are bound on a separate binding stack,
meaning that only one of each can be active at a time.
</p>
<p>
The supporting
<a href="https://x3dGraphics.com/slidesets/X3dForWebAuthors/Chapter11LightingEnvironment.pdf" target="X3dChapterSlideset">Chapter 11 slideset</a>
and course videos
(<a href="https://www.movesinstitute.org/Video/Courses/X3dForWebAuthors/X3dForWebAuthorsVideo.html#11" target="X3dChapterVideos">NPS</a>,
<a href="https://www.youtube.com/playlist?list=PLuSIsM-86sinCdhttlFIr5ZLBXRjzazWU" target="X3dChapterYouTubeVideos">YouTube</a>)
for <i>X3D for Web Authors</i> are available online via
<a href="https://x3dGraphics.com" target="_blank">X3dGraphics.com</a>.
</p>
</td>
</tr>
</tbody>
</table>