Categories
Game Creation Mastering Development

three.module.js – I just dont understand why?

https://threejs.org/examples/webgl_materials_cubemap_dynamic.html
Cool works fine — runs fine.

After much strain to find and download the files – it does not run?
(I put MY project links right there to find! Would be so simple, but not at threejs.org-always takes an hour to rebuild a project 🙁 complain complain complain lol )

What am I doing wrong, with this "module" stuff — I got it to work this way.

EDIT:
<script type="module">
import * as THREE from 'three.module.js';
TO:
<script src="three.js"></script>
<script>

Can anyone explain three.module.js proper use? and WHY? Why even have something so heinous; to what end?

Oh right, and of course this does not help much if I can’t make a map like that one. I have no clue how to do that map. https://threejs.org/examples/textures/2294472375_24a3b8ef46_o.jpg

Leave a Reply

Your email address will not be published. Required fields are marked *