Commit 62a0268d authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[MERGE]

parents 7ed31245 73230200
......@@ -79,6 +79,11 @@ void WHeadSurfaceCallback::update( osg::NodeVisitor* /*nv*/, osg::Drawable* draw
}
geometry->setTexCoordArray( 0, texCoords );
osg::Vec4Array* colors = new osg::Vec4Array;
colors->push_back( osg::Vec4( 1.0f, 1.0f, 1.0f, 1.0f ) );
geometry->setColorArray( colors );
geometry->setColorBinding( osg::Geometry::BIND_OVERALL );
}
m_currentColorSensitivity = colorSensitivity;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment