three.js spotlight.map TextureLoader not supported anymore?

56
January 02, 2019, at 06:00 AM

I am trying to make a projection mapping on to 3d objects. I have found this source to do so: https://rawgit.com/mbredif/three.js/demo_spotColorMap/docs/#api/lights/SpotLight This example even shows a video.

Now I re did this entire project, but the image mapping does not work. I am using

spotLight.map = new THREE.TextureLoader().load('textures/sky.jpg');

Here is my example: https://eriksachse.com/projection/

No error in the console, so the .map function should be access able? Or does this function no more exist in r100?

READ ALSO
How to format JavaScript code snippet to display on Web Page?

How to format JavaScript code snippet to display on Web Page?

I am trying to format JavaScript code snippet to display on a web page as follow:-

15
lrange returns false instead of the list

lrange returns false instead of the list

I'm trying to make my own simple Message Queue using Redis

20
What's the difference between df.head() and df.head?

What's the difference between df.head() and df.head?

In Jupyter Notebook or terminal, both dfhead and df

31
How to reduce TTFB request image for wordpress

How to reduce TTFB request image for wordpress

Hello and thank for being view this question

33