[osg-users] gl_fragcolor.w
hermens
H.Hermens at epro.de
Thu Jan 3 14:33:05 PST 2008
Hi Robert.
I did not change the osgshader example. (only the values in the *.frag-files. I am not yet very experienced with osg .. How to enable blending?
Best regards and thanks
H.
________________________________
Von: osg-users-bounces at lists.openscenegraph.org im Auftrag von Robert Osfield
Gesendet: Do 03.01.2008 21:09
An: OpenSceneGraph Users
Betreff: Re: [osg-users] gl_fragcolor.w
Have you enabled blending?
On Jan 3, 2008 5:51 PM, hermens <H.Hermens at epro.de> wrote:
>
>
> Hi all.
>
> I implemented a water shader in a little demo. Everything looks fine but i
> can't get the alpha of the gl_FragColor to work.
>
> I also looked in the osgshaders example but there is the same problem. For
> example if I change the gl_FragColor in file blocky.frag to gl_FragColor =
> vec4 (color, 0.2) i don't see any difference.
>
> Any reasons why?
>
> Thanks in advance,
>
> Hilmar.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080103/bba4e960/attachment.html
More information about the osg-users
mailing list