diff --git a/components/model/parametric.vue b/components/model/parametric.vue index 308560e..e3581c1 100644 --- a/components/model/parametric.vue +++ b/components/model/parametric.vue @@ -38,7 +38,7 @@ const groundMaterial = { displacementMap: pbrTexture.displacementMap, normalMap: pbrTexture.normalMap, color: "#555", - roughness: 1, + roughness: 0.25, metalness: 0, side: FrontSide } @@ -52,7 +52,7 @@ for (const key in pbrTexture) { element.wrapT = RepeatWrapping element.repeat.x = repeat element.repeat.y = repeat - // element.flipY = false + element.flipY = false } } } @@ -122,9 +122,9 @@ onMounted(() => { }) const pointLight = light.children[2] +pointLight.color = '#f0dea9' pointLight.shadow.camera.near = 50 const k = 1 -console.log(pointLight.shadow) pointLight.shadow.mapSize.width = 512 * k pointLight.shadow.mapSize.height = 512 * k pointLight.shadow.bias = -0.001