Introduced a less conservative near ratio.
This commit is contained in:
parent
ccfac57f20
commit
973a9dee09
@ -1652,7 +1652,7 @@ bool DepthPartitionSettings::getDepthRange(osg::View& view, unsigned int partiti
|
|||||||
OSG_NOTICE<<"nearPointInEyeCoords = "<<nearPointInEyeCoords<<std::endl;
|
OSG_NOTICE<<"nearPointInEyeCoords = "<<nearPointInEyeCoords<<std::endl;
|
||||||
OSG_NOTICE<<"farPointInEyeCoords = "<<farPointInEyeCoords<<std::endl;
|
OSG_NOTICE<<"farPointInEyeCoords = "<<farPointInEyeCoords<<std::endl;
|
||||||
#endif
|
#endif
|
||||||
double minZNearRatio = 0.001;
|
double minZNearRatio = 0.00001;
|
||||||
|
|
||||||
|
|
||||||
if (masterCamera->getDisplaySettings())
|
if (masterCamera->getDisplaySettings())
|
||||||
|
Loading…
Reference in New Issue
Block a user