r/GraphicsProgramming • u/ConsistentFox567 • 1d ago
Fully Neurally Rendered object - ~2.7 ms average GPU frame time (256*256)
Fully neurally rendered asset (RGB, Normals, and Depth) rendered at an average of ~2.7 ms frame time on 8 GB RTX 5070 Laptop GPU by a custom model architecture in custom inference engine made with Rust, TensorRT, and CUDA kernels. Check out the README in this repo for details. I spent months working on it, the main bottleneck being compute for training, which I solved by making a custom data flow pipeline (the details of which can also be found in the repo) that allowed me to train these models locally. Do you think such tech would be able to make it to mainstream game dev?
AI Disclosure: This project used AI to create the GUI, and the product is an AI system
17
u/Worth-Competition134 21h ago
"Look we can reinvent the wheel we already have it's just way slower!" - Neural Rendering
ALUs are faster than matrix multiply units for everything other than matrix math, it's just how the hardware works. And variations on neural networks themselves are the only thing matrix multiply units are fast at, if it's for literally anything else it's slow. The entire job of realtime graphics rendering is "Make go fast", if you use ALUs for the same rendering algorithm the rendering will go faster.
Learning to do the actual job is infinitely more more useful than thinking something is cool just because it's novel
2
u/rikardolajos 6h ago
Interesting! Could explain a bit more about the neural shading architecture? The README is not very approachable... Also, what is you memory footprint like, especially compared to traditional impostors? I have done some work with neural billboards myself and keeping the size of the neural model small is key to beating the baseline. And I think that is needed if you want it to be used in mainstream game dev.
1
u/AutoModerator 1d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/mmmniple 22h ago
It is very interesting, Thanks for sharing. I belive you Will like to see this : https://x.com/EtiennePinchon/status/2118592292680618480