<div dir="ltr"><div dir="ltr">Hi Martin,<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 22 Jul 2019 at 19:33, Martin Siggel <<a href="mailto:martinsiggel%2Bosg@gmail.com">martinsiggel+osg@gmail.com</a>> wrote:<br>> I am using OSG 3.6.4-rc3.</div><div dir="ltr"><br></div><div>That's from back in January so it would be worth updating to 3.6.4-rc8.  <br></div><div><br></div><div dir="ltr">I've done a diff between rc3 and rc8 and overall there are quite a few fixes, I couldn't see a change that would affect things for you with osgText.<br><br>> The only built-in shaders I am using right now are the osgText shaders:<br><a href="https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osgText/shaders" target="_blank">https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osgText/shaders</a><br><br>These are automatically bound, when no other shaders are added to a text node.<br><br>> When I don't add shaders to a geometry node, other built-in shaders seem to get active as well. I guess these are the ones from <a href="https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osg/shaders" target="_blank">https://github.com/openscenegraph/OpenSceneGraph/tree/master/src/osg/shaders</a>.</div><div dir="ltr"><br></div><div>Those shaders are related to the shader pipeline that is only part of master, they don't exist in 3.6.  If you are aren't creating your own shaders do they come with your data?  Or are you using osgUtil::ShaderGen?<br></div><div dir="ltr"><br>> When I e.g. use osgText, the text will appear after starting the application. When I go to the android main screen and then go back to the app, the text nodes will become black rectangles. Somehow, osg seems to reference still the "old" objects from the context before.<br><br>> Still, from the log I can verify, that shaders are compiled again after resuming to the app. <br></div><div dir="ltr"><br></div><div>What hardware/software Android platform are you testing with?<br></div><div dir="ltr"><br>> I could provide a "minimal" example if anyone is interested.<br></div><div dir="ltr"><br></div><div>I don't personally have a Android dev environment setup, so I can't test.  I was hoping that other Android users would chip in here, unfortunately the forum has been a bit unreliable of late so perhaps this is contributing.<br></div><div dir="ltr"><br></div><div>Cheers,</div><div>Robert.<br></div></div></div>