Multipass Shader Example

edited April 2017 in Share Your Work

So I finally had the time to create my postfx library for processing. It uses texture shaders and a ping-pong buffer to create post effects with multipass rendering. As there are many questions here in the forum about multipass rendering, I think it could be interesting for you.

Cube

Currently implemented are following effects:

  • bright pass
  • blur horizontal
  • blur vertical
  • sobel edge detection
  • toon filter

I will add more in a few days, but I think also the underlaying structure could be interesting for others, to implement their own multipass shader systems.

Here is the link to the github repository:

https://github.com/cansik/processing-postfx

For all who are interested in how I implemented it, I have written a tutorial on how to create a bloom filter in processing:

https://github.com/cansik/processing-bloom-filter

It would be great if you could test my library and give feedback or report a bug. I just tested it on my Mac, but it should also work on windows. Examples are in the examples folder.

Best regards

Comments

Sign In or Register to comment.