Open nkleemann opened 6 months ago
Interesting, I'll try to look into this, thanks!
I think it has to do with high bit graphics, you can force it to 8bit here: https://heestand-xyz.github.io/AsyncGraphics-Docs/documentation/asyncgraphics/graphic/bits(_:)
Will try it out, thanks!
When processing frames from
Graphic.playVideo
with thelevels
effect, and setting thegamma
uniform in the levels shader to values greater than 1, the image does not get inverted. But when you obtain frames from the camera, the image does get inverted.This is just a small issue, but swapping between video/camera sources might be common during development to prototype effects. So it might be worth looking into parity between the two frame sources.
Example: