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:
Robert Osfield
2003-03-31 12:48:33 +00:00
parent 3fe1313ad9
commit 11a38e12f2
2 changed files with 61 additions and 24 deletions

View File

@@ -792,7 +792,7 @@ void StateSet::setRenderingHint(int hint)
case(TRANSPARENT_BIN):
{
_binMode = USE_RENDERBIN_DETAILS;
_binNum = 1;
_binNum = 10;
_binName = "DepthSortedBin";
break;
}