Hi Sam,

It's hard to know what is wrong without more concrete information on
exactly how you are setting things up, so I can only provide general
thoughts.

First up, could well be blending as you suspect.  Have a look at making
sure the texture quad doesn't have blending enabled somewhere, or blending
being enabled further up in the scene graph which is overriding the local
state.   Another issue might be texture clamping of the texture.  Clamp to
border, or setting the border colour of the texture.  This is just
clutching at straws though, really don't know enough about the specifics of
how you are doing things to know what it might be.

Robert.

On 25 October 2015 at 19:56, sam <brko...@gmail.com> wrote:

> Hi All,
>
> I'm struggling with finding out why I have some discrepancy between my
> texture and what my osg is drawing. I have setup a label and put a texture
> against it as follows:
>
> [image: Inline image 1]
>
> But unfortunately I get that thin white bar at the bottom of the label. It
> seems to change color based on what is below it. I have tried to turn off
> blending and change the blend function but no luck thus far. Any help would
> be greatly appreciated. Here is the original texture image:
>
> [image: Displaying b_gui_cmn_button5_center_up.png]
>
> Thanks, Sam
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to