提交 5500d56a 编写于 作者: S sunag

depthMask, depthTest and premultipliedAlpha

上级 0b8c63ad
......@@ -2130,9 +2130,11 @@ SEA3D.Material = function ( name, data, sea3d ) {
if ( this.attrib & 128 )
this.animations = data.readAnimationList( sea3d );
this.depthMask = ( this.attrib & 256 ) == 0;
this.depthWrite = ( this.attrib & 256 ) == 0;
this.depthTest = ( this.attrib & 512 ) == 0;
this.premultipliedAlpha = ( this.attrib & 1024 ) != 0;
var count = data.readUByte();
for ( var i = 0; i < count; ++ i ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册