bold changed

This commit is contained in:
Anuj K 2025-08-29 13:35:18 +05:30
parent 44234d4ee8
commit bb0a37c49d
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View file

@ -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