Пример #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);
        }
Пример #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);
        }