Collection of examples from discourse.threejs.org

The console shows
ReferenceError: THREE is not defined

You must respect the structure of the folders.

See
script src=“…/js/three.min.106.js
in source code.

Or it is something with the configuration of your server?
See note @amitlzkpa How to add a .png texture to a cube - #2 by amitlzkpa


By the way, have you read this book? https://discoverthreejs.com/ by three.js co-author and moderator looeee

1 Like