![]() |
![]() |
![]() |
![]() |
500 |
LinearFog myFog = new LinearFog( );
myFog.setColor( new Color3f( 1.0f, 1.0f, 1.0f ) );
myFog.setFrontDistance( 1.0 );
myFog.setBackDistance( 30.0 );
BoundingSphere myBounds = new BoundingSphere(
new Point3d( ), 1000.0 );
myFog.setInfluencingBounds( myBounds );