public Material() { this.ambient = new float[] { 0, 0, 0, 0 }; this.diffuse = new float[] { 0, 0, 0, 0 }; this.specular = new float[] { 0, 0, 0, 0 }; this.alpha = 0; this.shininess = 0; this.illumType = IllumType.FLAT; this.texture = null; }
public Material() { this.ambient = new float[] {0, 0, 0, 0}; this.diffuse = new float[] { 0, 0, 0, 0 }; this.specular = new float[] { 0, 0, 0, 0 }; this.alpha = 0; this.shininess = 0; this.illumType = IllumType.FLAT; this.texture = null; }
public Material(float[] ambient, float[] diffuse, float[] specular, float alpha, float shininess, IllumType illumType, Texture texture) { this.ambient = ambient; this.diffuse = diffuse; this.specular = specular; this.alpha = alpha; this.shininess = shininess; this.illumType = illumType; this.texture = texture; }
public void SetIllumType(IllumType illumType) { this.illumType = illumType; }