#THREE.GLTFLoader: Custom UV set 1 for texture metalnessMap not yet supported.

8 messages · Page 1 of 1 (latest)

clear horizon
#
 <!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3D Particles with Dump Truck</title>

    <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r126/three.min.js" integrity="sha512-n8IpKWzDnBOcBhRlHirMZOUvEq2bLRMuJGjuVqbzUJwtTsgwOgK5aS0c1JA647XWYfqvXve8k3PtZdzpipFjgg==" crossorigin="anonymous"></script>
    <script src="https://unpkg.com/[email protected]/examples/js/loaders/GLTFLoader.js"></script>
</head>
<body>
    <div class="content">
        <h1>3D Particles and a Dump Truck</h1>
        <p>Move your mouse to interact with the particles, watch the truck move!</p>
    </div>

    
    <script src="script.js"></script>
</body>
</html>
frank pasture
#

Ok… try a different model. Try your model on gltf.report

fierce dew
#

Hi. can you load *.glb file?

#

If ok, I can explain other method.

covert lagoon
#

three.js r126 is pretty old. If you need support for custom UV sets on the built-in materials, you'll need a newer version of three.js.

#

I think r152 would be the minimum version for this feature.

clear horizon
#

oh lemme try