Mapping image onto a sphere in Three.js

前端 未结 2 1681
小蘑菇
小蘑菇 2021-01-31 05:51

I\'m currently using Three.js to try and create something. I\'ve got a sphere, and I\'m trying to map the eyeball image here onto it.

The problem I have is that the res

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 06:11

    The texture that you have represents only the visible part of the eye which is not the entire sphere. You need to add white space around your existing texture to allow for the part of the sphere that is not visible.

提交回复
热议问题