//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); }
//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); }
//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); }
//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); }
//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); }