VolumetricLightingModel.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>VolumetricLightingModel - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <p class="inheritance" translate="no"><a href="LightingModel.html">LightingModel</a> → </p>
  13. <h1 translate="no">VolumetricLightingModel</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>VolumetricLightingModel class extends the LightingModel to implement volumetric lighting effects.
  17. This model calculates the scattering and transmittance of light through a volumetric medium.
  18. It dynamically adjusts the direction of the ray based on the camera and object positions.
  19. The model supports custom scattering and depth nodes to enhance the lighting effects.</p></div>
  20. </header>
  21. <article>
  22. <div class="container-overview">
  23. <h2>Constructor</h2>
  24. <h3 class="name name-method" id="VolumetricLightingModel" translate="no">new <a href="#VolumetricLightingModel">VolumetricLightingModel</a><span class="signature">()</span> </h3>
  25. <div class="method">
  26. </div>
  27. </div>
  28. <h2 class="subsection-title">Source</h2>
  29. <p>
  30. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/functions/VolumetricLightingModel.js" translate="no" target="_blank" rel="noopener">src/nodes/functions/VolumetricLightingModel.js</a>
  31. </p>
  32. </article>
  33. </section>
  34. <script src="../scripts/linenumber.js"></script>
  35. <script src="../scripts/page.js"></script>
  36. </body>
  37. </html>
粤ICP备19079148号