Depth-aware light injection in TypeGPU

amrrs1 pts0 comments

Konrad Reczko on X: "Depth-aware light injection in TypeGPU

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<br>Since the inference is written directly in TypeGPU, I can just feed the depth buffer straight into the" / X<br>Post

Log inSign up

Post

Konrad Reczko on X: "Depth-aware light injection in TypeGPU

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<br>Since the inference is written directly in TypeGPU, I can just feed the depth buffer straight into the"

Konrad Reczko

@reczko_konrad

Depth-aware light injection in TypeGPU

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<br>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.

00:00

span:not(:empty)~span:not(:empty)]:before:content-['·'] [&>span:not(:empty)~span:not(:empty)]:before:px-1 [&>span:not(:empty)~span:not(:empty)]:before:shrink-0">11:09 AM · Aug 18, 2026509.1KViews

313<br>962<br>12K<br>3.7K

span:not(:empty)~span:not(:empty)]:before:content-['·'] [&>span:not(:empty)~span:not(:empty)]:before:px-1 [&>span:not(:empty)~span:not(:empty)]:before:shrink-0 min-w-0 overflow-hidden">Konrad Reczko

@reczko_konrad

6h

Here are some fun intermediate textures, the depth and constructed normals

294<br>11K

span:not(:empty)~span:not(:empty)]:before:content-['·'] [&>span:not(:empty)~span:not(:empty)]:before:px-1 [&>span:not(:empty)~span:not(:empty)]:before:shrink-0 min-w-0 overflow-hidden">Marc Krenn

@marc_krenn

5h

dope! what depth model are you using?

33<br>7.2K

Log in or sign up for X<br>See what’s happening and join the conversation<br>Continue with phoneContinue with AppleContinue with Google<br>or<br>Log in with username or email

Relevant people

Konrad Reczko@reczko_konradFollow<br>Software Engineer @ Software Mansion working on TypeGPU 💜

Trending now

span empty depth before typegpu konrad

Related Articles