drei icon indicating copy to clipboard operation
drei copied to clipboard

MeshReflectorMaterial doesn't work with three 137

Open bh41352 opened this issue 2 years ago • 1 comments

  • three version: 0.137.4
  • @react-three/fiber version: 7.0.26
  • @react-three/drei version: 8.3.1

Problem description:

MeshReflectorMaterial doesn't work with three 137, in 136 works but not how excepted, but in 135 works perfectly.

Relevant code:\

https://codesandbox.io/s/vigilant-buck-5sch7?file=/src/App.js

bh41352 avatar Feb 08 '22 13:02 bh41352

I've been struggling with this all day. Thanks to your codesandbox, i finally figure out the problem: the versions are messed up. I couldn't understand why the codesandbox works and on My machine, it doesn't.

I found that this combo works correctly with create-react-app:

"three": "^0.136.0",
"@react-three/drei": "^8.3.1",
"@react-three/fiber": "^7.0.26",

Hope it fixes your issue.

loekTheDreamer avatar Feb 08 '22 16:02 loekTheDreamer