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

Add shader based blendmodes #19

Open
cansik opened this issue May 15, 2017 · 0 comments
Open

Add shader based blendmodes #19

cansik opened this issue May 15, 2017 · 0 comments

Comments

@cansik
Copy link
Owner

cansik commented May 15, 2017

Render an other texture onto the current texture with different blend modes (idea by @b2renger).

PGraphics texture1;
PGraphics texture2;

fx.render(texture1)
        .brightnessContrast(0.1f, 1.0f)
        .blend(BlendMode.SCREEN, texture2)
        .compose(passResult);

Here a list of different blend modes:

http://www.northlite.net/ps/blend.htm

@cansik cansik added this to the Version 2.0 milestone May 15, 2017
@cansik cansik assigned cansik and unassigned cansik May 15, 2017
@cansik cansik added this to To do in Release 0.5 Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Release 0.5
  
To do
Development

No branches or pull requests

1 participant