tweaks
This commit is contained in:
		| @ -45,18 +45,18 @@ export class TetraGUI extends GUI { | |||||||
|                     }) |                     }) | ||||||
|                     loadingManager.onLoad = function() { |                     loadingManager.onLoad = function() { | ||||||
|                         scene.vortex.darkCylinder.material.map = darkTexture |                         scene.vortex.darkCylinder.material.map = darkTexture | ||||||
|                         scene.vortex.darkCylinder.material.opacity = 0.1 |                         scene.vortex.darkCylinder.material.opacity = 0.035 | ||||||
|                         scene.vortex.colorFullCylinder.material.map = colorfullTexture |                         scene.vortex.colorFullCylinder.material.map = colorfullTexture | ||||||
|                         scene.vortex.colorFullCylinder.material.opacity = 0.7 |                         scene.vortex.colorFullCylinder.material.opacity = 0.6 | ||||||
|                          |                          | ||||||
|                         scene.vortex.globalRotation = 0.028 |                         scene.vortex.globalRotation = 0.028 | ||||||
|                         scene.vortex.darkTextureRotation = 0.005 |                         scene.vortex.darkTextureRotation = 0.005 | ||||||
|                         scene.vortex.darkMoveForward = 0.009 |                         scene.vortex.darkMoveForward = 0.009 | ||||||
|                         scene.vortex.colorFullTextureRotation = 0.006 |                         scene.vortex.colorFullTextureRotation = 0.006 | ||||||
|                         scene.vortex.colorFullMoveForward = 0.013 |                         scene.vortex.colorFullMoveForward = 0.015 | ||||||
|  |  | ||||||
|                         scene.ambientLight.intensity = 1 |                         scene.ambientLight.intensity = 1 | ||||||
|                         scene.directionalLight.intensity = 5 |                         scene.directionalLight.intensity = 1 | ||||||
|                     } |                     } | ||||||
|                 break |                 break | ||||||
|                 case "Espace": |                 case "Espace": | ||||||
|  | |||||||
| @ -15,8 +15,8 @@ export class TetraScene extends THREE.Scene { | |||||||
|         this.ambientLight = new THREE.AmbientLight(0xffffff, 1) |         this.ambientLight = new THREE.AmbientLight(0xffffff, 1) | ||||||
|         this.add(this.ambientLight) |         this.add(this.ambientLight) | ||||||
|          |          | ||||||
|         this.directionalLight = new THREE.DirectionalLight(0xffffff, 5) |         this.directionalLight = new THREE.DirectionalLight(0xffffff, 1) | ||||||
|         this.directionalLight.position.set(5, 40, 20) |         this.directionalLight.position.set(5, 0, 20) | ||||||
|         this.add(this.directionalLight) |         this.add(this.directionalLight) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | |||||||
| @ -11,7 +11,7 @@ export class Vortex extends THREE.Group { | |||||||
|         this.darkMoveForward = 0.009 |         this.darkMoveForward = 0.009 | ||||||
|          |          | ||||||
|         this.colorFullTextureRotation = 0.006 |         this.colorFullTextureRotation = 0.006 | ||||||
|         this.colorFullMoveForward = 0.013 |         this.colorFullMoveForward = 0.015 | ||||||
|  |  | ||||||
|         const commonCylinderGeometry = new THREE.CylinderGeometry(35, 35, 500, 12, 1, true) |         const commonCylinderGeometry = new THREE.CylinderGeometry(35, 35, 500, 12, 1, true) | ||||||
|  |  | ||||||
| @ -27,7 +27,7 @@ export class Vortex extends THREE.Group { | |||||||
|                     texture.repeat.set(1, 1) |                     texture.repeat.set(1, 1) | ||||||
|                 }), |                 }), | ||||||
|                 blending: THREE.AdditiveBlending, |                 blending: THREE.AdditiveBlending, | ||||||
|                 opacity: 0.1 |                 opacity: 0.035 | ||||||
|             }) |             }) | ||||||
|         ) |         ) | ||||||
|         this.add(this.darkCylinder) |         this.add(this.darkCylinder) | ||||||
| @ -42,7 +42,7 @@ export class Vortex extends THREE.Group { | |||||||
|                     texture.repeat.set(2, 1) |                     texture.repeat.set(2, 1) | ||||||
|                 }), |                 }), | ||||||
|                 blending: THREE.AdditiveBlending, |                 blending: THREE.AdditiveBlending, | ||||||
|                 opacity: 0.7 |                 opacity: 0.6 | ||||||
|             }) |             }) | ||||||
|         ) |         ) | ||||||
|         this.add(this.colorFullCylinder) |         this.add(this.colorFullCylinder) | ||||||
|  | |||||||
| @ -90,7 +90,7 @@ let minoMaterial = new THREE.MeshStandardMaterial({ | |||||||
|     transparent: true, |     transparent: true, | ||||||
|     opacity: 0.6, |     opacity: 0.6, | ||||||
|     roughness: 0.1, |     roughness: 0.1, | ||||||
|     metalness: 0.9, |     metalness: 0.95, | ||||||
| }) | }) | ||||||
| /* | /* | ||||||
| let minoMaterial = new THREE.MeshPhysicalMaterial({ | let minoMaterial = new THREE.MeshPhysicalMaterial({ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user