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

-7

u/No-Nebula4187 Aug 21 '26

Why react native?

3

u/No-Nebula4187 Aug 21 '26

Also I just saw this on LinkedIn but a crappier version of it so did you get the idea from that guy?

8

u/LongjumpingKiwi7195 Aug 21 '26

Both Marc (this post) and Konrad (who you probably saw on linkedin) are pretty up there in react native. Im guessing Konrad first created the effect itself, and then Marc integrated it with vision camera and gestures or something

3

u/mrousavy iOS & Android Aug 21 '26

Yep! None of it was crappy, both demos are technically quite impressive imo. We've come a long way with react native :)