ShadowMapPlugin.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../../../list.js"></script>
  6. <script src="../../../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../../../page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <div class="desc">The Webglrenderer plugin class that allows shadowmaps to be rendered in the WebglRenderer. This plugin is automatically loaded in the Webglrenderer.</div>
  12. <h2>Constructor</h2>
  13. <h3>[name]()</h3>
  14. <div>
  15. Creates a new [name].
  16. </div>
  17. <h2>Methods</h2>
  18. <h3>[method:todo update]([page:Scene scene], [page:Camera camera])</h3>
  19. <div>
  20. scene -- The scene to render. <br />
  21. camera -- The camera to render.
  22. </div>
  23. <div>
  24. Updates the textures nessecary for the shadowmaps. This gets called by updateShadowMap in [page:WebGLRenderer].
  25. </div>
  26. <h3>[method:todo render]([page:Scene scene], [page:Camera camera])</h3>
  27. <div>
  28. scene -- The scene to render. <br />
  29. camera -- The camera to render.
  30. </div>
  31. <div>
  32. Prepares the shadowmaps to be rendered defined in the scene. This gets automatically called as pre render function to draw the lensflares.
  33. </div>
  34. <h2>Source</h2>
  35. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  36. </body>
  37. </html>