Made the default transparent bin be bin number 10 rather than 1 to allow
more bins between it and the default opaque bin of 0. Added a check for compressed image format in osg::Texture.
This commit is contained in:
@@ -792,7 +792,7 @@ void StateSet::setRenderingHint(int hint)
|
||||
case(TRANSPARENT_BIN):
|
||||
{
|
||||
_binMode = USE_RENDERBIN_DETAILS;
|
||||
_binNum = 1;
|
||||
_binNum = 10;
|
||||
_binName = "DepthSortedBin";
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user