Added options for alpha testing.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@33 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -269,10 +269,10 @@ public class SkinMesh extends ModelMesh
|
||||
VBOInfo vboinfo = new VBOInfo(false);
|
||||
vboinfo.setVBOColorEnabled(true);
|
||||
vboinfo.setVBOTextureEnabled(true);
|
||||
vboinfo.setVBOIndexEnabled(!_depthSorted);
|
||||
vboinfo.setVBOIndexEnabled(!_translucent);
|
||||
setVBOInfo(vboinfo);
|
||||
}
|
||||
_useDisplayLists = useDisplayLists && !_depthSorted;
|
||||
_useDisplayLists = useDisplayLists && !_translucent;
|
||||
}
|
||||
|
||||
@Override // documentation inherited
|
||||
@@ -400,7 +400,7 @@ public class SkinMesh extends ModelMesh
|
||||
VBOInfo ovboinfo = batch.getVBOInfo();
|
||||
if (ovboinfo != null) {
|
||||
VBOInfo vboinfo = new VBOInfo(true);
|
||||
vboinfo.setVBOIndexEnabled(!_depthSorted);
|
||||
vboinfo.setVBOIndexEnabled(!_translucent);
|
||||
vboinfo.setVBOColorID(ovboinfo.getVBOColorID());
|
||||
for (int ii = 0; ii < nunits; ii++) {
|
||||
vboinfo.setVBOTextureID(ii, ovboinfo.getVBOTextureID(ii));
|
||||
|
||||
Reference in New Issue
Block a user