[osg-users] How do I render a.ive model with shader?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed Dec 9 17:56:57 PST 2020


 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... at 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+unsubscribe at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201209/95304082/attachment.html>


More information about the osg-users mailing list