Only modules, but you’ll have to port it to vanilla code anyway. There is no vanilla variant of this, it would be very hard to share because of system interop and awareness of the environment it’s in. When you do port it, the only part that’s React is the main file (MeshReflectorMaterial.tsx), everything inside useFrame must run in your render-loop.
drcmda
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Creating a fading reflection | 16 | 6002 | July 16, 2024 | |
| Having problem with using MeshReflectorMaterial | 4 | 2508 | November 16, 2022 | |
| drei reveal demo + full source | 1 | 936 | January 29, 2021 | |
| CubeCamera reflection issue (codepen included) | 6 | 935 | January 20, 2023 | |
| Faded Reflection | 0 | 375 | June 28, 2022 |