There's a setting in opengl to correct for it, glEnable(GL_FRAMEBUFFER_SRGB), but I haven't tried this yet.
It turns out that it's an issue with the color channels being in
sRGB color space and the alpha channel being linear. I verified
this by doing a software blend of the images and then doing
another software blend using gamma corrected values.
- SDL2 texture blend help Ivan Trombley via Digitalmars-d
- Re: SDL2 texture blend help Mike Parker via Digitalmars-d
- Re: SDL2 texture blend help Ivan Trombley via Digitalmars-d
- Re: SDL2 texture blend help Dmitry via Digitalmars-d
- Re: SDL2 texture blend help Dave Jones via Digitalmars-d
- Re: SDL2 texture blend help Ivan Trombley via Digitalmars-d
- Re: SDL2 texture blend help Dmitry via Digitalmars-d
- Re: SDL2 texture blend help Ivan Trombley via Digitalmars-d
- Re: SDL2 texture blend h... Dmitry via Digitalmars-d
- Re: SDL2 texture bl... Ivan Trombley via Digitalmars-d
- Re: SDL2 textur... Ivan Trombley via Digitalmars-d
- Re: SDL2 textur... Dmitry via Digitalmars-d
- Re: SDL2 te... Ivan Trombley via Digitalmars-d
- Re: SDL2 te... Ivan Trombley via Digitalmars-d
- Re: SDL2 te... Dmitry via Digitalmars-d
- Re: SDL2 te... Martin DraĊĦar via Digitalmars-d