티스토리 뷰

이것도 추가해야했습니다

var texture = new THREE.Texture (); var loader = new THREE.ImageLoader ();

    loader.addEventListener( 'load', function ( event ) {
            Texture1.image = event.content;
                        Texture1.needsUpdate = true;
                            } );
                            
                                loader.load( 'http://simpletruthsforhealthyliving.com/js/earth.jpg' );
                                


출처
https://stackoverflow.com/questions/39969995
댓글
공지사항
Total
Today
Yesterday
«   2025/06   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30