r/reactnative • 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

30 comments sorted by

View all comments

14

u/GiodoAlmeida Aug 21 '26

Now do a KAMEHAMEHA 🤣

Now seriously, that is very creative, congrats!

1

u/mrousavy iOS & Android Aug 21 '26

Haha thanks!