Esempio 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;
        }
Esempio 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;
        }