Git Product home page Git Product logo

Comments (3)

quadbyte avatar quadbyte commented on June 30, 2024

I'm having the same issue. I tried tweaking the different ofClear / glClear call "here and there" but without much luck. Would love to get your insight on this Neil. Thanks

from ofxpostprocessing.

neilmendoza avatar neilmendoza commented on June 30, 2024

Unfortunately, it will require a bit of work to get transparency to work properly, clearing the framebuffer to transparent is one part of it. Another problem though is that if you look at the XXXXPass.cpp files, most of the shaders just set the alpha value to 1.0. Some effects, such as bloom also interact with the blending mode.

Hopefully I'll get some time at some point to update the addon a little. There's a few things I'd like to add such as a background colour to clear the FBs to (that would address this issue), ofParameter support and ofGLProgrammableRenderer support. If anyone fancies helping out get in touch...

from ofxpostprocessing.

chemabc avatar chemabc commented on June 30, 2024

Hi, Neil,
I really would like to help you with the transparency issue. It would be very useful for a urgent project I am finishing. If I could use ofxPostProcessing that would be great.
I am not the biggest expert in shaders but I understand and manipulate the basics, also about pingpong.
If you can point me in the right direction, I think I can start digging to solve it asap. What do you think?
First thing, I guess, is making FBOS with GL_RGBA, if ofFbo::settings?

from ofxpostprocessing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.