[osg-users] TBN Matrix for Normal Mapping - OSG and GLSL

Robert Osfield robert.osfield at gmail.com
Fri Nov 10 00:37:30 PST 2017

Hi Rômulo,

On 8 November 2017 at 21:46, Rômulo Cerqueira
<romulogcerqueira at gmail.com> wrote:
> thanks for your replies. I will have a look on osg::TangentSpaceVisitor, however I have a question: I will have in my OSG scene a lot of objects with/without normal mapping. How can I handle different normal textures using the same osg::TangentSpaceVisitor?

To tailor the behavior to suit your scene graph usage case you could
subclass from the TengentSapceVisitor and add your own checks for


More information about the osg-users mailing list