R3F: PivotControls casts contact shadows

Hi,

I noticed that the combination of PivotControls and ContactShadows leads to a huge shadow on the ground. I assume the controls shoulnt cast shadow at all, or am I missing something?

Best

I noticed something else. The example allows scaling of the object: object gizmo controls - CodeSandbox. Unfortunately this is not possible if I import PivotControls from the npm package.

currently it just films up and if there’s something it will throw a shadow. but there’s a PR that will fix it: fix: Enhance contact shadows by FarazzShaikh · Pull Request #1585 · pmndrs/drei · GitHub this will extend it so that it only receives objects that cast shadows.

1 Like

Nice, thanks!