Ejemplo n.º 1
0
        //Instanced Properties
        public override void UpdateProperties()
        {
            //Initialize property array
            if (properties == null || properties.Length != 1)
            {
                properties = new ProjectionProperty[1];
            }

            //Albedo Color
            properties[0] = new ProjectionProperty("Albedo", albedo._Color, albedo.Color);
        }
Ejemplo n.º 2
0
        //Instanced Properties
        public override void UpdateProperties()
        {
            //Initialize property array
            if (properties == null || properties.Length != 1)
            {
                properties = new ProjectionProperty[1];
            }

            //Normal Strength
            properties[0] = new ProjectionProperty("Normal", normal._BumpScale, normal.Strength);
        }
Ejemplo n.º 3
0
        //Instanced Properties
        public override void UpdateProperties()
        {
            //Initialize property array
            if (properties == null || properties.Length != 1)
            {
                properties = new ProjectionProperty[1];
            }

            //Normal Strength
            properties[0] = new ProjectionProperty("Glossiness", gloss._Glossiness, gloss.Glossiness);
        }
Ejemplo n.º 4
0
        //Instanced Properties
        public override void UpdateProperties()
        {
            //Initialize property array
            if (properties == null || properties.Length != 2)
            {
                properties = new ProjectionProperty[2];
            }

            //Shape Modifier
            properties[0] = new ProjectionProperty("Opacity", shape._Multiplier, shape.Multiplier);

            //Normal Strength
            properties[1] = new ProjectionProperty("Normal Strength", normal._BumpScale, normal.Strength);
        }
Ejemplo n.º 5
0
        //Instanced Properties
        public override void UpdateProperties()
        {
            //Initialize property array
            if (properties == null || properties.Length != 2)
            {
                properties = new ProjectionProperty[2];
            }

            //Albedo Color
            properties[0] = new ProjectionProperty("Albedo", albedo._Color, albedo.Color);

            //Emission Color
            properties[1] = new ProjectionProperty("Emission", emissive._EmissionColor, emissive.Color, emissive.Intensity);
        }