pmndrs / lamina

🍰 An extensible, layer based shader material for ThreeJS
MIT License
1.01k stars 41 forks source link

flatShading prop has no effect on LayerMaterial #36

Open marcelmusiol opened 2 years ago

marcelmusiol commented 2 years ago

Adding flatShading prop to the LayerMaterial doesn't affect the shading.

flatshading

Left: <meshMatcapMaterial matcap={matcap} flatShading />

Right: `

    </LayerMaterial>`

https://codesandbox.io/s/lamina-matcap-ho7v4z?file=/src/App.js