Fixed the orientation of the osgreflect demo so that the reflection plane

is orientated towards the viewer.

Changed the lightmodel ambient level to 0.1,0.1,0.1 instead of 0.0, so that
a small amount of ambient lighting is available to render back surfaces.
The osgreflect and osgprerender suffered unexpected behaviors because of
no lighting on the backfaces.
This commit is contained in:
Robert Osfield
2002-07-15 13:20:41 +00:00
parent e9f30add38
commit 9c56a57de3
3 changed files with 5 additions and 5 deletions

View File

@@ -66,8 +66,8 @@ echo osgmultitexture cessnafire.osg
osmultitexture cessnafire.osg
more memleaks.log
echo osgreflect cow.osg
osgreflect cow.osg
echo osgreflect cessna.osg
osgreflect cessna.osg
more memleaks.log
echo osgscribe cow.osg