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

Fix alpha not being applied correctly on adjustColor.frag #61

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

swordcube
Copy link

Normally, when trying to set alpha on a sprite that uses this shader (e.x. Darnell BF Mix), the alpha just doesn't get applied, it remains as if it is still set to 1

This pull request should fix that
Tested in 0.5.0 (Windows Desktop)

When trying to set alpha on a sprite that uses this shader (e.x. Darnell BF Mix), the alpha just doesn't get applied, it remains as if it is still set to 1

This fixes that issue
@nebulazorua
Copy link

Likely this will happen on other shaders too, so might be good to sweep through all the shaders and make sure it applies to all of them?

(Also, colorTransforms won't work so might be good to look into using flixel_texture2d?)

@swordcube
Copy link
Author

Likely this will happen on other shaders too, so might be good to sweep through all the shaders and make sure it applies to all of them?

(Also, colorTransforms won't work so might be good to look into using flixel_texture2d?)

Remind me to do that later when it isn't 2:12am ❤️

@EliteMasterEric EliteMasterEric added the status: pending triage The bug or PR has not been reviewed yet. label Sep 25, 2024
@EliteMasterEric
Copy link
Member

Can we get a before and after on this to confirm this doesn't mess anything up visually?

@EliteMasterEric EliteMasterEric added status: needs clarification Requires more info from the contributor. size: small A small pull request with 10 or fewer changes and removed status: pending triage The bug or PR has not been reviewed yet. labels Sep 26, 2024
@swordcube
Copy link
Author

Can we get a before and after on this to confirm this doesn't mess anything up visually?

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: small A small pull request with 10 or fewer changes status: needs clarification Requires more info from the contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants