drei
drei copied to clipboard
fix(MeshReflectorMaterial): avoid updates when possible
Why
These changes avoids unnecessary updates for MeshReflectorMaterial.
Previously it was updating even with visible=false on the material or on the parent mesh.
A couple of notes:
- I had to update
threeand@types/threepackage becauseonBeforeRender()method was not typed correctly up til https://github.com/three-types/three-ts-types/pull/1169 and it was causing errors - sorry I disabled Husky locally as I was getting a lot of errors that were not related to these changes
@davcri is attempting to deploy a commit to the Poimandres Team on Vercel.
A member of the Team first needs to authorize it.