Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

background(0,0,0,0) seems to clear screen

edited October 2011 in Bugs Posts: 13

Might be by design, but was unexpected. In my defense I was only doing it to try and fix the weird residual artifacts I'm seeing during my non-screen-clearing rendering. ;-)

Comments

  • SimeonSimeon Admin Mod
    Posts: 5,626

    Yes, alpha in the background call doesn't do anything. This is because it is simply a synonym for OpenGL's glClear(r, g, b, a) function. The alpha in a glClear doesn't perform a composite on existing screen pixels, it overwrites them with the value.

Sign In or Register to comment.