From Torben Dannhauer, "I added radial fog functionality be using the OpenGL extension 'GL_NV_fog_distance'."

This commit is contained in:
Robert Osfield
2010-05-31 16:53:41 +00:00
parent df57965a34
commit 975b95dd33
3 changed files with 35 additions and 6 deletions

View File

@@ -19,4 +19,5 @@ REGISTER_OBJECT_WRAPPER( Fog,
ADD_FLOAT_SERIALIZER( Density, 1.0f ); // _density
ADD_VEC4_SERIALIZER( Color, osg::Vec4() ); // _color
ADD_GLENUM_SERIALIZER( FogCoordinateSource, GLint, GL_NONE ); // _fogCoordinateSource
ADD_BOOL_SERIALIZER( UseRadialFog, false ); // _useRadialFog
}