|
@@ -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 ) {
|