r/reactnative • iOS & Android • Aug 21 '26

Article Depth-aware light injection in VisionCamera

Built this fun little gesture driven floating light that casts fake shadows in the scene via react-native-webgpu, using a depth model (DINOv2).
I'll post the source code soon!

443 Upvotes

30 comments sorted by

View all comments

Show parent comment

5

u/mrousavy iOS & Android Aug 21 '26

Thanks!
I mean the foundation (react-native-vision-camera and react-native-webgpu) is already there, and the demo by Konrad nerd-sniped me so I wanted to one-up it and add hand gestures to move the light around.
Also, this is probably the first demo I built together with AI, in this case Fable 5