0

Look at this https://codesandbox.io/s/geometry-2d-forked-2qxuh?file=/src/index.js:645-666 there is a cube made by <boxBufferGeometry />, extruded triangle made by <extrudeBufferGeometry /> and <pointLight /> which should cause different color for each side of each geometry. This principle works for the cube but it looks like the <pointLight /> has no effect on extruded triangle, extruded triangle has all sides covered by one color despite there is <pointLight /> which should make the edges of the extruded triangle visible but for some reason it doesn't. Any ideas? Thanks.

David Holada
  • 109
  • 1
  • 2
  • 14

0 Answers0