Пример #1
0
        /// <summary>
        /// Create an EnvironmentTextureNode
        /// </summary>
        public EnvironmentTextureNode(string name) :
            base(ShaderNodeType.EnvironmentTexture, name)
        {
            inputs  = new EnvironmentTextureInputs(this);
            outputs = new EnvironmentTextureOutputs(this);

            Interpolation = InterpolationType.Linear;
            ColorSpace    = TextureColorSpace.Color;
            Projection    = EnvironmentProjection.Equirectangular;
        }
Пример #2
0
        /// <summary>
        /// Create an EnvironmentTextureNode
        /// </summary>
        public EnvironmentTextureNode(string name)
            : base(ShaderNodeType.EnvironmentTexture, name)
        {
            inputs = new EnvironmentTextureInputs(this);
            outputs = new EnvironmentTextureOutputs(this);

            Interpolation = InterpolationType.Linear;
            ColorSpace = TextureColorSpace.None;
            Projection = EnvironmentProjection.Equirectangular;
        }