react-three-fiber v5 reveal demo, milky AO

the reveal demo for react-three-fiber version 5: http://r3fv5.surge.sh

full code: https://codesandbox.io/s/react-three-fiber-v5-1sccp

there’s some cool stuff in there imo, the mount transitions for instance, which i think would normally be quite hard to realize. the whole thing clocks in at ~90 LOC.

4 Likes

Hi @drcmda how to use orbitcontrol while using three js within react native. Please help me!!!

1 Like

threes controls only work on the web. i believe expo has ported them for cross platform use.

Wow very smooth shadows! I didnt know about contact shadows. The implementation seems much simpler as well on react-three-fiber. Very nice

1 Like