[osg-users] Shininess without Material
Chris Djali
krizdjali at gmail.com
Sun Aug 11 11:00:01 PDT 2019
Hi,
Fixed-function materials can track either the material colour or the vertex colour depending on if glColorMaterial is used, so you can probably get the behaviour you want by setting a material on the stateset as before, but changing its mode so that (for example) the diffuse and ambient colours track the vertex colour.
Cheers,
Chris
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76575#76575
More information about the osg-users
mailing list