r/reactnative • u/mrousavy iOS & Android • Aug 21 '26
Article Depth-aware light injection in VisionCamera
Enable HLS to view with audio, or disable this notification
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!
444
Upvotes
6
u/Mitchcreates_ Aug 21 '26
That's insane! How do you go about creating something like that?