Changed the background pixel colour to white, but kept the alpha value zero.
This has been done to improve the quality of the mip mapping of text.
This commit is contained in:
@@ -162,6 +162,8 @@ void LightPointDrawable::drawImplementation(osg::State& state) const
|
||||
|
||||
state.haveAppliedAttribute(osg::StateAttribute::POINT);
|
||||
|
||||
state.dirtyAllVertexArrays();
|
||||
|
||||
// restore the state afterwards.
|
||||
state.apply();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user