コード例 #1
0
ファイル: ImageTextureNode.cs プロジェクト: dfelinto/CCSycles
        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;
        }
コード例 #2
0
ファイル: ImageTextureNode.cs プロジェクト: mcneel/CCSycles
        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;
        }