[osg-users] Why not show textures when rendering geometry with PrimitiveSet::TRIANGLES using Shader330 version?
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Wed Dec 9 17:55:59 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年12月5日星期六 UTC+8 下午5:22:22<OpenSceneGraph Users> 写道:
> On Sat, 5 Dec 2020 at 04:31, OpenSceneGraph Users <
> osg-... at lists.openscenegraph.org> 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 osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/a16bd854-d2a2-4063-95ec-ece728a618dan%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201209/1cb36ed7/attachment.html>
More information about the osg-users
mailing list