Do you have a screenshot or a demo, or even the source code ready :-)


2008/1/3, Robert Osfield <[EMAIL PROTECTED]>:
>
> Have you enabled blending?
>
> On Jan 3, 2008 5:51 PM, hermens <[EMAIL PROTECTED]> 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
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
********************************************
Adrian Egli
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to