예제 #1
0
        public MusgraveTexture(string name)
            : base(ShaderNodeType.MusgraveTexture, name)
        {
            inputs  = new MusgraveInputs(this);
            outputs = new MusgraveOutputs(this);

            MusgraveType = MusgraveTypes.fBM;

            ins.Scale.Value      = 1.0f;
            ins.Detail.Value     = 2.0f;
            ins.Dimension.Value  = 2.0f;
            ins.Lacunarity.Value = 1.0f;
            ins.Offset.Value     = 0.0f;
            ins.Gain.Value       = 1.0f;
        }
예제 #2
0
        public MusgraveTexture(string name)
            : base(ShaderNodeType.MusgraveTexture, name)
        {
            inputs = new MusgraveInputs(this);
            outputs = new MusgraveOutputs(this);

            MusgraveType = MusgraveTypes.fBM;

            ins.Scale.Value = 1.0f;
            ins.Detail.Value = 2.0f;
            ins.Dimension.Value = 2.0f;
            ins.Lacunarity.Value = 1.0f;
            ins.Offset.Value = 0.0f;
            ins.Gain.Value = 1.0f;
        }