fix vortex
This commit is contained in:
		| @ -21,7 +21,7 @@ export class Vortex extends THREE.Group { | |||||||
|             commonCylinderGeometry, |             commonCylinderGeometry, | ||||||
|             new THREE.MeshLambertMaterial({ |             new THREE.MeshLambertMaterial({ | ||||||
|                 side: THREE.BackSide, |                 side: THREE.BackSide, | ||||||
|                 map: new THREE.TextureLoader(loadingManager).load("./images/plasma2.jpg", (texture) => { |                 map: new THREE.TextureLoader(loadingManager).load("./images/plasma.jpg", (texture) => { | ||||||
|                     texture.wrapS = THREE.RepeatWrapping |                     texture.wrapS = THREE.RepeatWrapping | ||||||
|                     texture.wrapT = THREE.MirroredRepeatWrapping |                     texture.wrapT = THREE.MirroredRepeatWrapping | ||||||
|                     texture.repeat.set(1, 1) |                     texture.repeat.set(1, 1) | ||||||
| @ -36,7 +36,7 @@ export class Vortex extends THREE.Group { | |||||||
|             commonCylinderGeometry, |             commonCylinderGeometry, | ||||||
|             new THREE.MeshBasicMaterial({ |             new THREE.MeshBasicMaterial({ | ||||||
|                 side: THREE.BackSide, |                 side: THREE.BackSide, | ||||||
|                 map: new THREE.TextureLoader(loadingManager).load("./images/plasma.jpg", (texture) => { |                 map: new THREE.TextureLoader(loadingManager).load("./images/plasma2.jpg", (texture) => { | ||||||
|                     texture.wrapS = THREE.RepeatWrapping |                     texture.wrapS = THREE.RepeatWrapping | ||||||
|                     texture.wrapT = THREE.MirroredRepeatWrapping |                     texture.wrapT = THREE.MirroredRepeatWrapping | ||||||
|                     texture.repeat.set(2, 1) |                     texture.repeat.set(2, 1) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user