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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user