<div dir="ltr"><div dir="ltr"><div>Hi Cory,</div><div><br></div><div>Looking at osgText there following line (152, OpenSceneGraph/src/osgText/Text.cpp sets up the TEXTURE_DIMENSION:</div><div><br></div><div>        ss.str("");<br>        ss << float(activeFont->getTextureWidthHint());<br>        defineList["TEXTURE_DIMENSION"] = osg::StateSet::DefinePair(ss.str(), osg::StateAttribute::ON);<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote">Which makes me think that the std::stringstream ss used is defaulting to your locale and then GLSL is using the standard locale.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">If this is so then setting the locale on the stringstream would be the appropriate thing to do.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Robert.<br></div></div>