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

All photoshop blend modes. #1087

Open
hovox opened this issue Jun 13, 2013 · 4 comments
Open

All photoshop blend modes. #1087

hovox opened this issue Jun 13, 2013 · 4 comments

Comments

@hovox
Copy link

hovox commented Jun 13, 2013

No description provided.

@PrimaryFeather
Copy link
Owner

Are we talking about Sparrow 2.0 or 1.x? (I know this is the 1.x repository, but I just saw that I accidentally deactivated the "issues" feature in the 2.0 repository -- just changed that.)

Because in Sparrow 2.0, there are blend modes -- not all from PhotoShop, but all that can be implemented with OpenGL blend modes. Have you seen that?

http://doc.sparrow-framework.org/v2/Classes/SPDisplayObject.html#//api/name/blendMode

e.g.

object.blendMode = SP_BLEND_MODE_MULTIPLY;

@hovox
Copy link
Author

hovox commented Jun 13, 2013

Sorry, I tried to delete from this and add to sparrow 2.0 this issue after saw that this is a Sparrow 1.x.
I'm talking about 2.0 version, and yes I saw native blend bodes, but we need other blend modes too, actually our application is not the game, but image editor. Also it would be nice and very usable to have future to add custom shader to DisplayObject.

@hovox
Copy link
Author

hovox commented Jun 13, 2013

We added custom blend modes into SPQuadBatch, it uses native blend modes if can, otherwise uses our custom shader to do that, we can pull this.

@PrimaryFeather
Copy link
Owner

OK, I see what you mean! Yes, it would be great if I could have a look at the code! Even though I can't promise anything about if and when it can be added.

Thanks in advance!

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

2 participants