|
@@ -19,6 +19,9 @@ export class FragmentOutputBlock extends NodeMaterialBlock {
|
|
this.registerInput("rgba", NodeMaterialBlockConnectionPointTypes.Color4, true);
|
|
this.registerInput("rgba", NodeMaterialBlockConnectionPointTypes.Color4, true);
|
|
this.registerInput("rgb", NodeMaterialBlockConnectionPointTypes.Color3, true);
|
|
this.registerInput("rgb", NodeMaterialBlockConnectionPointTypes.Color3, true);
|
|
this.registerInput("a", NodeMaterialBlockConnectionPointTypes.Float, true);
|
|
this.registerInput("a", NodeMaterialBlockConnectionPointTypes.Float, true);
|
|
|
|
+
|
|
|
|
+ this._inputs[0].acceptedConnectionPointTypes.push(NodeMaterialBlockConnectionPointTypes.Vector4);
|
|
|
|
+ this._inputs[1].acceptedConnectionPointTypes.push(NodeMaterialBlockConnectionPointTypes.Vector3);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|