are you sure you have a full 32bit alpha channel
image, like that of a image.rgba file? if not you can
get transparency without "masking".
john
--- Tinoshi Kitazawa <ti...@li...> wrote:
> Hello!
>
> I've got a problem with the clouds in the sky... I
> can't figure out why my clouds are ugly and those of
> sky.cxx are so beautiful... I've copied that code,
> except for the windowing: now I use PW... It seems
> that my clouds are not transparent, well, I see them
> and they are moving well, but they are 'flat', not
> puffy. Seems that their alpha is set to 1.0, I
> cannot explain that better. They seem pieces of
> paper flying through the sky, not vapour. Should I
> set some OpenGL state? I tried to use glut instead
> of PW but this is not the answer! It seems to me
> that in sky.cxx nothing of strange is set up, it's
> very 'simple', so i don't know what to do...
|