Exemple #1
0
        public MagicTexture(string name)
            : base(ShaderNodeType.MagicTexture, name)
        {
            inputs  = new MagicInputs(this);
            outputs = new MagicOutputs(this);

            ins.Scale.Value      = 5.0f;
            ins.Distortion.Value = 1.0f;
            Depth = 2;
        }
Exemple #2
0
        public MagicTexture(string name)
            : base(ShaderNodeType.MagicTexture, name)
        {
            inputs = new MagicInputs(this);
            outputs = new MagicOutputs(this);

            ins.Scale.Value = 5.0f;
            ins.Distortion.Value = 1.0f;
            Depth = 2;
        }