Esempio n. 1
0
        public ImageTextureNode(string name)
            : base(ShaderNodeType.ImageTexture, name)
        {
            inputs = new ImageTextureInputs(this);
            outputs = new ImageTextureOutputs(this);

            ProjectionBlend = 0.0f;
            Interpolation = InterpolationType.Linear;
            ColorSpace = TextureColorSpace.Color;
            Projection = TextureProjection.Flat;
        }
Esempio n. 2
0
        public ImageTextureNode(string name) :
            base(ShaderNodeType.ImageTexture, name)
        {
            inputs  = new ImageTextureInputs(this);
            outputs = new ImageTextureOutputs(this);

            UseAlpha        = true;
            ProjectionBlend = 0.0f;
            Interpolation   = InterpolationType.Linear;
            ColorSpace      = TextureColorSpace.None;
            Projection      = TextureProjection.Flat;
        }