Exemple #1
0
        public SkyTexture(string name)
            : base(ShaderNodeType.SkyTexture, name)
        {
            inputs = new SkyInputs(this);
            outputs = new SkyOutputs(this);

            SunDirection = new float4(0.0f, 0.0f, 1.0f);
            Turbidity = 2.2f;
            GroundAlbedo = 0.3f;
            SkyType = "Hosek / Wilkie";
        }
Exemple #2
0
        public SkyTexture(string name)
            : base(ShaderNodeType.SkyTexture, name)
        {
            inputs  = new SkyInputs(this);
            outputs = new SkyOutputs(this);

            SunDirection = new float4(0.0f, 0.0f, 1.0f);
            Turbidity    = 2.2f;
            GroundAlbedo = 0.3f;
            SkyType      = "Hosek / Wilkie";
        }