Escalar automáticamente las normales según el escalado del modelo


/ Published in: C++
Save to your folder(s)



Copy this code and paste it in your HTML
  1. _model->getOrCreateStateSet()->setMode( GL_RESCALE_NORMAL_EXT, osg::StateAttribute::ON );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.