Hi,

On 05/01/11 01:26, Jake Knickerbocker wrote:
> My question is: How would it be possible to make a Clutter actor
> with a alpha level of 0 occlude other fully visible actors? This is
> all assuming a completely transparent stage. The video would then
> be visible through this hole that the one actor has made.
> 
> Is this possible?

Yes, it should be possible. If an actor uses CoglMaterial with blend
function RGBA=ADD(SRC_COLOR, 0), then everything underneath that actor,
all the way through to the stage, will be replaced by what the actor
paints; so if it simply paints with a color that has 0 alpha you will
end up with 0 alpha directly on the stage (this assumes RGBA stage, of
course).

Tomas
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to