Replies: 1 comment 2 replies
-
Have a look at the osglight example: https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osglight/osglight.cpp If you are new to the OSG then I recommend just skip learning the OSG and adopt it's successor the VSG. The lighting support is both easier to use and more sophisticated - PBR, Cascaded shadow maps and seemly support for more than 8 lights that OpenGL/OSG fixed function pipeline support. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to add a light source effect to the model in osg 3.6.5 version, but it doesn't seem to work with the default light and lightsource.
Does anyone know how?
Beta Was this translation helpful? Give feedback.
All reactions