SDL2 texture blend help

Dmitry dmitry at indiedev.ru
Tue Dec 12 07:12:07 UTC 2017


On Tuesday, 12 December 2017 at 06:27:30 UTC, Ivan Trombley wrote:
> This isn't a scaling problem (which is totally solved by
Scaling is not a prerequisite for this problem.

> pre-multiplying the alpha with the colors BTW). This is a gamma
How did you this? Using editor or using shader? If shder, show 
the code.
Can you share both images? I want to check.

> correction problem which is solved only by converting the color 
> values to linear color space before compositing and then 
> converting the final pixel back to sRGB.

Are you sure in that? Because what I see is typical alpha 
blending problem.



More information about the Digitalmars-d mailing list