i find this setUseVertexAttributeAliasing must be set in Osg when using higher versions of Shader. Otherwise it won't work
gc->getState()->setUseVertexAttributeAliasing(true); 在2020年12月5日星期六 UTC+8 下午5:22:22<OpenSceneGraph Users> 写道: > On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph Users < > [email protected]> wrote: > >> My working environment is closed and I cannot provide complete code. >> >> I'm not asking for code or data, just a high level explanation as outline > in my previous email. > >> Does the geometry of triangles primitives rendered in Shader 330 version >> lack any properties? >> > No. > > The problem is unlikely to be anything to do with triangles, but some > higher level issue about how the scene is constructed and and what > features you are attempting to use, > > You've said nothing about the wider context. > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/a16bd854-d2a2-4063-95ec-ece728a618dan%40googlegroups.com.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

