|
@@ -36,7 +36,6 @@
|
|
function addImageBitmap() {
|
|
function addImageBitmap() {
|
|
|
|
|
|
new THREE.ImageBitmapLoader()
|
|
new THREE.ImageBitmapLoader()
|
|
- .setOptions( { imageOrientation: 'none' } )
|
|
|
|
.load( 'textures/planets/earth_atmos_2048.jpg?' + performance.now(), function ( imageBitmap ) {
|
|
.load( 'textures/planets/earth_atmos_2048.jpg?' + performance.now(), function ( imageBitmap ) {
|
|
|
|
|
|
const texture = new THREE.CanvasTexture( imageBitmap );
|
|
const texture = new THREE.CanvasTexture( imageBitmap );
|