Good point.  Not sure what to do there.  I wonder if this is a time to
bring in cogl or OpenGL.

You could also potentially do it by implementing your own subclass of
ClutterTexture and implementing a paint method which does
modifications to the real paint data.

What are you trying to accomplish?  Clutter includes basic depth
queuing (fog) which would fade things out as they move further away.

Jimmy

2009/5/22 Jordi Hernández Puigdellívol <[email protected]>:
> But.. what about if the texture has transparent parts, the black rectangle
> will darken the images behind them...
>
> Is possible to clone the texture and put all its pixels black, maintaining
> the alpha of course?
>
> 2009/5/22 Jordi Hernández Puigdellívol <[email protected]>
>>
>> So put a clutterrectangle 1point before and make it more or less
>> transparent.. it seems a good idea!
>>
>> I'll try it!
>>
>> On Fri, May 22, 2009 at 3:38 PM, Jimmy Thrasher <[email protected]>
>> wrote:
>>>
>>> Hi Jordi,
>>>
>>> Seems like you should be able to combine a ClutterTexture with a
>>> black, transparent ClutterRectangle inside a ClutterGroup.
>>>
>>> Seems simplistic, but it should work.
>>>
>>> Jimmy
>>>
>>> 2009/5/22 Jordi Hernández Puigdellívol <[email protected]>:
>>> > Hi to all!
>>> >
>>> > I would like to know if it is possible with clutter to darken a
>>> > texture, I
>>> > mean, mix it with an amount of black
>>> >
>>> > Thanks!
>>> >
>>> > --
>>> > Jordi Hernández Puigdellívol
>>> >
>>> --
>>> To unsubscribe send a mail to [email protected]
>>>
>>
>>
>>
>> --
>> Jordi Hernández Puigdellívol
>
>
>
> --
> Jordi Hernández Puigdellívol
>
--
To unsubscribe send a mail to [email protected]

Reply via email to