예제 #1
0
        public WaveTexture(string name)
            : base(ShaderNodeType.WaveTexture, name)
        {
            inputs  = new WaveInputs(this);
            outputs = new WaveOutputs(this);

            ins.Scale.Value       = 1.0f;
            ins.Distortion.Value  = 0.0f;
            ins.Detail.Value      = 2.0f;
            ins.DetailScale.Value = 1.0f;
        }
예제 #2
0
        public WaveTexture(string name)
            : base(ShaderNodeType.WaveTexture, name)
        {
            inputs = new WaveInputs(this);
            outputs = new WaveOutputs(this);

            ins.Scale.Value = 1.0f;
            ins.Distortion.Value = 0.0f;
            ins.Detail.Value = 2.0f;
            ins.DetailScale.Value = 1.0f;
        }