129
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 13 Dec 2025
129 points (99.2% liked)
Programming
25338 readers
264 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
I've been working on my own game engine for years, and there's all sorts of cool stuff it can do, but recently I've been expanding the scripting to be capable of streaming images to the GPU.
Today I got Doom running inside my engine as a hot-reloadable plugin script:
Video: https://wednesdayos.sw0.com/share/2025-12-13_00-25-14.mp4
The engine has real-time bounce lighting using a highly modified voxel cone tracing algorithm I developed (doesn't require ray tracing hardware), which I've been able to get running even on my Steam Deck!
Video: https://wednesdayos.sw0.com/share/2025-03-21%2023-50-29.mp4
The whole thing is open source here: https://github.com/frustra/strayphotons
Total cool 🤩
Software path-tracing has been on my bucket list, mostly to test a concept: physically based instant radiosity. If an eye-ray goes camera, A, B, C, then the light C->B forms an anisotropic point source. The material at B scatters light from C directly into onscreen geometry. This allows cheating akin to photon mapping, where you assume nearby pixels are also visible to B. Low-frequency lighting should look decent at much less than one sample per pixel.
Looks awesome! Been putting off learning voxel cone tracing. Time to read that nvidia paper again...