#Three.js. Transparent material

4 messages · Page 1 of 1 (latest)

silent shaleBOT
#

@sharp whale

rns96 Uploaded Some Code

My question is about I really tried to make it work, but even copying an example code, it seems not to work.
Can someone tell me why the mesh can't turn into a transparent mesh?
Here's my module script

Uploaded these files to a Gist
sharp whale
#

here's my html

#
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8" />
      <title>Three.js – Hello human</title>
      <script type="importmap">
        {
          "imports": {
            "three": "https://unpkg.com/three@<version>/build/three.module.js",
            "three/addons/": "https://unpkg.com/three@<version>/examples/jsm/"
          }

        }
      </script>

      <script type="module" src="./js/main.js"></script>

   </head>
   <body>

    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
   </body>
</html>
#

i tried replace the mesh thinking that could be a bug in the polygons, but even Xbot from three.js don't work