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