threepipe
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

index.html 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Unreal Bloom Pass</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- Import maps polyfill -->
  8. <!-- Remove this when import maps will be widely supported -->
  9. <script async src="https://unpkg.com/es-module-shims@1.6.3/dist/es-module-shims.js"></script>
  10. <script type="importmap">
  11. {
  12. "imports": {
  13. "three": "./../../dist/index.mjs",
  14. "three/examples/jsm/postprocessing/UnrealBloomPass.js": "https://cdn.jsdelivr.net/gh/repalash/three.js-modded@v0.157.1004/examples/jsm/postprocessing/UnrealBloomPass.js",
  15. "threepipe": "./../../dist/index.mjs",
  16. "@threepipe/webgi-plugins": "https://unpkg.com/@threepipe/webgi-plugins@0.2.0/dist/index.mjs",
  17. "@threepipe/plugin-tweakpane": "./../../plugins/tweakpane/dist/index.mjs"
  18. }
  19. }
  20. </script>
  21. <style id="example-style">
  22. html, body, #canvas-container, #mcanvas {
  23. width: 100%;
  24. height: 100%;
  25. margin: 0;
  26. overflow: hidden;
  27. }
  28. </style>
  29. <script type="module" src="../examples-utils/global-loading.mjs"></script>
  30. <script type="module" src="../examples-utils/simple-code-preview.mjs"></script>
  31. <script id="example-script" type="module" src="./script.js" data-scripts="./script.ts;./script.js"></script>
  32. </head>
  33. <body>
  34. <div id="canvas-container">
  35. <canvas id="mcanvas"></canvas>
  36. </div>
  37. </body>