You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the following code to render a simple box with Edges applied:
functionBox(){return(// Note the negative scaling<meshposition={[2,0,0]}rotation={[0.5,0,0]}scale={[-2,2,2]}><boxGeometryargs={[1,1,1]}/><Edgescolor="black"/><meshStandardMaterialcolor="orange"/></mesh>);}
With Drei version 9.101.0, the edges are nicely rendered:
With Drei version 9.102.0 and above, the edges no more show up:
This only happens when negative scaling factor is used in the surrounding <mesh>.
three
version: 0.166.1@react-three/fiber
version: 8.16.8@react-three/drei
version: 9.108.4node
version: 20.8.0npm
version: 10.1.0Problem description:
When using the following code to render a simple box with Edges applied:
With Drei version 9.101.0, the edges are nicely rendered:
With Drei version 9.102.0 and above, the edges no more show up:
This only happens when negative scaling factor is used in the surrounding
<mesh>
.Relevant code:
I created a repository that demonstrates this problem: https://github.com/nene/three-edges-react
Suggested solution:
Looks like there were major changes to Edges implementation in v9.102.0.
The text was updated successfully, but these errors were encountered: