示例#1
0
        public LayerWeightNode(string name)
            : base(ShaderNodeType.LayerWeight, name)
        {
            inputs  = new LayerWeightInputs(this);
            outputs = new LayerWeightOutputs(this);

            ins.Normal.Value = new float4(0.0f);
            ins.Blend.Value  = 0.5f;
        }
示例#2
0
        public LayerWeightNode(string name)
            : base(ShaderNodeType.LayerWeight, name)
        {
            inputs = new LayerWeightInputs(this);
            outputs = new LayerWeightOutputs(this);

            ins.Normal.Value = new float4(0.0f);
            ins.Blend.Value = 0.5f;
        }