r/GraphicsProgramming • u/iwoplaza • Aug 21 '26
Source Code Konrad Reczko's "Monocular Depth Injection" in TypeGPU is live!
My collegue Konrad Reczko recently shared a weekend project he made using TypeGPU, and it's now open-source and ready to play with in the browser: https://typegpu.com/examples/#example=image-processing--monocular-light-injection
It estimates the depth of a scene by inferring the DepthArt model with custom TypeGPU kernels, then reconstructs normals based on that depth information, and uses both to relight the scene, all in the same command encoder. For more information, check out the original series of Tweets:
https://x.com/reczko_konrad/status/2089670934009413751?s=20
https://x.com/reczko_konrad/status/2090472091149648121?s=20
11
u/Smokeey1 Aug 21 '26
Does this thing have a repo :). Gratz on the build! Looks cool
2
u/DaveAstator2020 Aug 21 '26
Wow nice what model does is it use to aesolve depth in realtime?
2
u/AnasPlayer2022M Aug 21 '26
Dame bro, this looks awesome! Did you use two videos where one is the one playing now and the other is a map for z values?
88
u/juplantern Aug 21 '26
He looks so proud
20
u/cybereality Aug 21 '26
very cool
1
u/ddoice Aug 21 '26
Awesome!
But I tried your trick to hide the light with my hand and does not work?
3
u/swegga_sa Aug 21 '26
This is very cool
3
u/Miperso Aug 21 '26
I just showed it to my architect coworkers and everyone is just impressed... this is great
2
u/Malkalypse Aug 21 '26
This is so wild!
2
u/NachosforDachos Aug 21 '26
This is so cool
2
u/helloworld1101 Aug 21 '26
Reddit is still useful
2
u/Big-Awareness-3335 Aug 22 '26
expecto patronuuuuum!
2
u/josephmgift Aug 25 '26
so doooope
2
u/Apprehensive_Oil1475 Aug 25 '26
Super cool!
2
u/Ok_Rock_6726 Aug 26 '26
That's so cool I'm planning to join Software mansion as an intern next styczeń and this video brings me so much excitement and power to keep learning to ace the interview.
2
u/tHE_uKER Aug 26 '26
Incredible work!
1
u/freshtothegrave Aug 21 '26
Damn i wanna get this working in TouchDesigner
1
u/PyroWizza Aug 21 '26
What could be some implementations of this?
1
u/Labertaeschen Aug 21 '26
This combined with metas SAM would be game breaking right?
1
u/bbstats Aug 21 '26
I can't get my hand to go in front of it!
1
u/Still_Explorer Aug 21 '26
Any ideas about 2D based relighting on 3D game graphics?
1
u/Imaginary-Sun1350 Aug 21 '26
This is EPIC!! Are you able to upload videos to it and generate the maps and export them for faster and easier relighting pipelines in blender?
1
u/MeticulousBioluminid Aug 21 '26
phenomenal
1
u/equitos0101101 Aug 22 '26
Isso só pode ser pacto, meu Deus
1
u/GoYeaCo Aug 22 '26
Benger
1
u/tebjan Aug 22 '26
Just for completeness: This is not new, it's been done with r/vvvv last year already, reaching over 300fps. I would know, because I'm the developer of it. :-)
1
u/M-Ottich Sep 09 '26
bro thats fucking awesome <3