freed minoes as instanced mesh

This commit is contained in:
2023-07-14 04:09:57 +02:00
parent eadae0205f
commit d0120ca2a6
4 changed files with 11 additions and 8 deletions

View File

@@ -8,10 +8,10 @@ export class Vortex extends THREE.Group {
this.globalRotation = 0.028
this.darkTextureRotation = 0.006
this.darkMoveForward = 0.012
this.darkMoveForward = 0.011
this.colorFullTextureRotation = 0.006
this.colorFullMoveForward = 0.016
this.colorFullMoveForward = 0.09
const commonCylinderGeometry = new THREE.CylinderGeometry(35, 35, 500, 12, 1, true)
@@ -21,7 +21,7 @@ export class Vortex extends THREE.Group {
commonCylinderGeometry,
new THREE.MeshLambertMaterial({
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.wrapT = THREE.MirroredRepeatWrapping
texture.repeat.set(2, 1)
@@ -36,7 +36,7 @@ export class Vortex extends THREE.Group {
commonCylinderGeometry,
new THREE.MeshBasicMaterial({
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.wrapT = THREE.MirroredRepeatWrapping
texture.repeat.set(1, 1)