[osg-users] Why can't ive format model texture show when turn on setUseVertexAttributeAliasing(true)?
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Sun Oct 18 06:58:12 PDT 2020
On Sat, 17 Oct 2020 at 18:15, OpenSceneGraph Users <
osg-users at lists.openscenegraph.org> wrote:
> Thank you for your questions, Do you mean to use this
> setUseVertexAttributeAliasing(true) only in GL version that only supports
> shaders ?
>
Vertex aliasing only affects scene graphs that use shaders, they don't
affect the OpenGl fixed function pipeline.
The OSG tests for shader support at runtime so even older versions of
OpenGL prior to GL2 can use shaders.
However, if you build against GL core profile or GLES2.x of greater then
there is no fixed function pipeline so all OSG usage will need to use
shaders.
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20201018/4f718c50/attachment.html>
More information about the osg-users
mailing list