Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent pixels don't change #1

Open
homm opened this issue Apr 22, 2018 · 0 comments
Open

Transparent pixels don't change #1

homm opened this issue Apr 22, 2018 · 0 comments

Comments

@homm
Copy link

homm commented Apr 22, 2018

                    if (a < 1) {
                        r = ((1 - a) * r) + (a * r);
                        g = ((1 - a) * g) + (a * g);
                        b = ((1 - a) * b) + (a * b);
                    }
r = (1 - a) * r + a * r;
r = (1 - a + a) * r;
r = 1 * r;
r = r;

This is noop;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant