[osg-users] osgText and OpenGL ES 3
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Thu Aug 4 00:57:27 PDT 2016
Hi Benjamin,
Examining your debug output in this thread, I got to realize that you
are using a ShaderGen. That might stem from the gles pseudoloader in
case you use one.
As I said before, I'm not an expert in the OpenGL ES stuf, so maybe
someone else can help you further.
I suspect the problem in assigning the same default shader to all
objects. As I pointed out osg::Text needs some extra care, as you need
to premultiply the color with the fonts alpha (additive blending).
Cheers
Sebastian
> Hi Sebastian,
>
> I tried to override my text shader into StateSet as you adviced, and you were right (cf. attachments). There might be another shader loading for this text somewhere. I will investigate and let you know if I found something.
>
> Cheers,
> Benjamin
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68273#68273
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/img_0034_177.png
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list