shadow
This commit is contained in:
parent
f551abc982
commit
580719239e
|
@ -34,6 +34,7 @@ const { hasFinishLoading, progress, items } = await useProgress()
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<ModelParametric />
|
<ModelParametric />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
<TresDirectionalLight :position="[7, 6, 7]" :intensity="10" color="#fdf5ca" cast-shadow />
|
||||||
</TresCanvas>
|
</TresCanvas>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -40,9 +40,9 @@ watch(fence_section, () => {
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<TresGroup :scale="3" :rotate-y="-Math.PI * -0.5" :translate-y="-3.25">
|
<TresGroup :scale="3" :rotate-y="-Math.PI * -0.5" :translate-y="-3.25">
|
||||||
<TresMesh receive-shadow cast-shadow :translate-y="-0.26">
|
<TresMesh receive-shadow :translate-y="-0.05">
|
||||||
<TresCircleGeometry :args="[8, 8, 8]" :rotate-x="-Math.PI * 0.5" />
|
<TresCircleGeometry :args="[8, 32]" :rotate-x="-Math.PI * 0.5" />
|
||||||
<TresMeshStandardMaterial v-bind="pbrTexture" color="violet" />
|
<TresMeshStandardMaterial color="violet" />
|
||||||
</TresMesh>
|
</TresMesh>
|
||||||
|
|
||||||
<TresGroup :position="[pillar_one_pos, (lSize * -0.5), 0]" :scale="[1, 0.5, 1]">
|
<TresGroup :position="[pillar_one_pos, (lSize * -0.5), 0]" :scale="[1, 0.5, 1]">
|
||||||
|
|
Loading…
Reference in New Issue