drei
drei copied to clipboard
🥉 useful helpers for react-three-fiber
### Why bug: selection state loss when dragging transforms pointer up I think it's better to keep that state **Before** https://user-images.githubusercontent.com/4948120/182520782-9df2385d-66f6-4cb2-bf9a-fdc56a53c48d.mov **After** https://user-images.githubusercontent.com/4948120/182520856-7b55ef33-de3d-4afa-818b-35350c84f4b6.mov ### What The problem is that `onClick`...
This still requires on ugly cast, not sure if its r3f problem yet. ### Why Trying to address #894 ### What In order for r3f's `useLoader` to return `GLTF &...
As the title says, The mouse parameter in the call to useFrame is 0 in the View component, and any element onClick in the View component cannot be responded to....
- `three` version: 0.137.5 - `@react-three/fiber` version: 7.0.26 - `@react-three/drei` version: 8.8.3 - `node` version: 16.13.2 - `npm` (or `yarn`) version: 8.1.2 ### Problem description: Hi, no matter what I...
As shown in the title, when using the ContactShadow component in Drei, the console will output the following log. please fix~
### What is your question: I am trying to use savestate and reset callbacks of the controls. But for some reason, the controls are a null object when I use...
Hello, I want to add HTML elements to my canvas in my nested canvas components. When I use the `Html component`, My HTML elements are in the scene as they...
### Why Enable multiple/all modes at the same time for `TransformControls`. See #927 ### What Demo: https://drei-git-fork-glavin001-feat-927-all-transformcontrols-pmndrs.vercel.app/?path=/story/controls-transformcontrols--transform-controls-all-modes-story Modes: | 🆕 All | Translate | Rotate | Scale | | ---...
### Why To solve: ERROR: 0:1323: 'sRGBToLinear' : no matching overloaded function found ### What I removed the "sRGBToLinear" part highlighted by @paulhenschel from the MeshReflectorMaterial ### Checklist - [...
### Problem description: Let's say I want to create a traffic sign which is always facing to the camera. I want to rotate it only around the Y axis, so...