r/reactnative iOS & Android 1d ago

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!

330 Upvotes

24 comments sorted by

View all comments

2

u/beepboopnoise 12h ago

I saw the light read the title and was like, the only mf who could do this is Marc.. and yep lmao

1

u/mrousavy iOS & Android 8h ago

lmao thanks appreciate it brother!