Esempio n. 1
0
        public HueSaturationNode(string name)
            : base(ShaderNodeType.HueSaturation, name)
        {
            inputs  = new HueSaturationInputs(this);
            outputs = new HueSaturationOutputs(this);

            ins.Hue.Value        = 0.5f;
            ins.Saturation.Value = 1.0f;
            ins.Value.Value      = 1.0f;
            ins.Fac.Value        = 1.0f;
            ins.Color.Value      = new float4(0.8f);
        }
Esempio n. 2
0
        public HueSaturationNode(string name)
            : base(ShaderNodeType.HueSaturation, name)
        {
            inputs = new HueSaturationInputs(this);
            outputs = new HueSaturationOutputs(this);

            ins.Hue.Value = 0.5f;
            ins.Saturation.Value = 1.0f;
            ins.Value.Value = 1.0f;
            ins.Fac.Value = 1.0f;
            ins.Color.Value = new float4(0.8f);
        }