Hi Neil,
        
        Thanks 4 helping.
        Its working now.i was asking same stuff.
        I have a backgroung of OpenGL and now I am 
        Learning clutter.where we can get it all the API
        Listed so that I can use accord to requirment.
RK


-----Original Message-----
From: Neil Roberts [mailto:[email protected]] 
Sent: Thursday, March 04, 2010 4:06 PM
To: Rakesh Kumar
Cc: [email protected]
Subject: Re: [clutter] How to make texture transparent

Rakesh Kumar <[email protected]> writes:

> How we can create texture transparent or blending.
>
> I am using clutter_new_texture_from_file and want to make
>
> That texture transparent.

If I understand your question correctly then you just need to do
something like:

 ClutterActor *texture = clutter_texture_new_from_file (...);
 clutter_actor_set_opacity (texture, 128);

That will make the texture 50% transparent.

- Neil


--
To unsubscribe send a mail to [email protected]

Reply via email to