osg2cpp application to me today. The conversion result may become incorrect if there are quotation marks ( " ) in the shader file, which will mostly appear in comment lines. Replace all " into \" before writing to cpp files will solve the problem, as the attached file shows."