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年11月28日星期六 UTC+8 上午11:14:29<mirr...@gmail.com> 写道:

> I'm new to this. To be honest, I don't understand. 
>
> I want to know how to render a complex OBJ model with Shader.Do you want 
> to render the children of the OBJ model separately?  
> 在2020年11月25日星期三 UTC+8 下午3:59:26<OpenSceneGraph Users> 写道:
>
>> You can't expect people to help you when you don't explain the problem 
>> you are seeing.  A title, a screenshot and some shader code is not in any 
>> way sufficient.  Far better to take a step back and explain what you are 
>> doing, what you have got working, what doesn't work.  
>>
>

-- 
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 osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/ea9c0aea-a783-4147-b05d-edc2fe18438cn%40googlegroups.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to