Pinned post
I've been playing with React Native WebGPU recently and it's really flipping my perspective on animations.
0:13
@reactiive_
Pinned post
We are releasing React Native Skia version 3.0 which runs WebGPU by default. By moving away from the OpenGL-centric design, it allows for multithreading by default as well as deep integration with three.js, vision camera, and transformer.jsView quoted post on X
youtube.com/watch?v=L-PNQi…
Depth-aware light injection in TypeGPUView quoted post on X
I got a 448x448 monocular depth model down to ~8 ms on my M4 Pro across ~250 dispatches, which is fast enough to use in realtime :D
Since the inference is written directly in TypeGPU, I can just feed the depth buffer straight into the lighting pass. It never has to leave the GPU or go through any extra synchronization/interop step
Inference, lighting and draw all go through the same command encoder.