mercredi 7 décembre 2016

Applying Texture to Object in Three JS using Example

So I am working on a class project using this example

http://ift.tt/2gXcx7o

I am trying to display images as if they are in bubbles. I removed the background where the scene would be set to;

scene.background = textureCube;

However seems that the texture applied to the circles are fixed in the XY coordinates to match the scene background texture.

So the original example it looks as if the circles are passing over the background giving it a distorted look like a bubble, but I am trying to give that look to a texture from within the circle, so each cycle can have it's own image. So imagine bubbles with icons in

Does anybody know what is responsible for giving the images a location and how I can change it so the images move freely ?




Aucun commentaire:

Enregistrer un commentaire