Ver código fonte

feat(cientos) remove doubleside material

astanusic 2 anos atrás
pai
commit
c043b85e66
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      packages/tres/src/components/Shapes.vue

+ 2 - 2
packages/tres/src/components/Shapes.vue

@@ -72,10 +72,10 @@ const tubePath = new CubicBezierCurve3(
         <TresMeshToonMaterial color="lightsalmon" :side="DoubleSide" />
       </Circle>
       <Cone ref="coneRef" :args="[1, 1, 6]" :position="[2, 6, 2]" :rotation="[Math.PI, 0, 0]" cast-shadow>
-        <TresMeshToonMaterial color="slateblue" :side="DoubleSide" />
+        <TresMeshToonMaterial color="slateblue" />
       </Cone>
       <Tube ref="tubeRef" :args="[tubePath, 20, 0.2, 8, false]" :position="[2, 6, -2]" cast-shadow>
-        <TresMeshToonMaterial color="lightblue" :side="DoubleSide" />
+        <TresMeshToonMaterial color="lightblue" />
       </Tube>
     </TresScene>
   </TresCanvas>