[jit.gl.node] + transparent background

yaniki's icon

Dear Friends

Is it possible to use [jit.gl.node] with transparent background?

I mean, that instead of filling the background up (before render the objects connected to the [jit.gl.node]) with color set with @erase_color attribute I want to render the objects over transparent background. Something like clear_surface command with jit.mgraphics.

I will be grateful for all suggestions ;-)

Rob Ramirez's icon

set gl.node @erase_color 0 0 0 0

yaniki's icon

Oh! Haha ... I do not know how I could have overlooked something so obvious... Thank you very much, Rob! I am [de/en]lighted - this takes care of most of the issues that seemed to me troublesome when working with Jitter and layered compositions.

Noisey Parker's icon

This isn't working for me? @erase_colour 0 0 0 0 is drawing it black? The opacity setting doesn't appear to be working?

Max Patch
Copy patch and select New From Clipboard in Max.