Open Matsilagi opened 1 year ago
code is very very slow in realtime. a lot of math is used here and python makes it even slower
You sure? Im pretty sure lots of optimizations can be made. Especially while using the GPU to process those.
I started looking into this, and it looks like a lot of the code relies on IIR filters, which are hard to parallelize. It would likely be possible to optimize this using compute shaders, but I'm not sure how portable those are and how feasible it would be to use them in a video game.
I was thinking more about ReShade, so all games could take profit off of it.
If its portable to reshade, then it works everywhere.
The way those are rendered, im pretty sure this is possible. Could you guys make then, if there's time, a glsl version to be able to be used in games and whatnot? After looking a bit through the code, i see no reason why this wouldn't work in Realtime.