bold changed
This commit is contained in:
parent
44234d4ee8
commit
bb0a37c49d
BIN
public/bold.glb
BIN
public/bold.glb
Binary file not shown.
|
@ -45,7 +45,7 @@ let boldRoughnessAnimation = {
|
||||||
startTime: 0,
|
startTime: 0,
|
||||||
delayDuration: 1.0, // 1 second delay
|
delayDuration: 1.0, // 1 second delay
|
||||||
transitionDuration: 1.0, // 1 second transition
|
transitionDuration: 1.0, // 1 second transition
|
||||||
startRoughness: 0.9,
|
startRoughness: 0.25,
|
||||||
endRoughness: 0.05,
|
endRoughness: 0.05,
|
||||||
materials: [] // Store references to bold materials
|
materials: [] // Store references to bold materials
|
||||||
};
|
};
|
||||||
|
@ -153,9 +153,9 @@ controls.enableZoom = false; // Disable zoom
|
||||||
// Material definitions
|
// Material definitions
|
||||||
// Bold glass material (starts rough, will transition to clear)
|
// Bold glass material (starts rough, will transition to clear)
|
||||||
const boldGlassMaterial = new THREE.MeshPhysicalMaterial({
|
const boldGlassMaterial = new THREE.MeshPhysicalMaterial({
|
||||||
color: 0xffffff,
|
color: 0xFFA500,
|
||||||
metalness: 0.2,
|
metalness: 0.2,
|
||||||
roughness: 0.4, // Start with rough glass
|
roughness: 0.25, // Start with rough glass
|
||||||
transmission: 1,
|
transmission: 1,
|
||||||
ior: 2,
|
ior: 2,
|
||||||
thickness: 2,
|
thickness: 2,
|
||||||
|
@ -165,7 +165,7 @@ const boldGlassMaterial = new THREE.MeshPhysicalMaterial({
|
||||||
attenuationDistance: 0.8,
|
attenuationDistance: 0.8,
|
||||||
envMapIntensity: 0,
|
envMapIntensity: 0,
|
||||||
specularIntensity: 1.0,
|
specularIntensity: 1.0,
|
||||||
specularColor: new THREE.Color(0x000000),
|
specularColor: new THREE.Color(0xffffff),
|
||||||
transparent: true,
|
transparent: true,
|
||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
alphaTest: 0
|
alphaTest: 0
|
||||||
|
|
Loading…
Reference in a new issue