I am writing webgpu ray tracer, is anyone interested in this topic?

I did RTRT (real-time ray tracing) with dynamic LBVH rebuilding for each frame :smiley: (online webgpu demo)

you can drag&drop obj files to canvas (set shadow depth to zero if too dark)

P.S.:

Vega7 (5600G iGPU)

LBVH build time :

[264 tris] scene 1 (animation) 2.9 ms

[156 tris] scene 2 (simple) 2.2-2.7 ms

[218,724 tris] scene 3 (chess) 12.5 ms

2 Likes