Exemplo n.º 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;
        }
Exemplo n.º 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;
        }