Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
        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;
        }
Esempio n. 4
0
        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;
        }
Esempio n. 5
0
 public void SetIllumType(IllumType illumType)
 {
     this.illumType = illumType;
 }
Esempio n. 6
0
 public void SetIllumType(IllumType illumType)
 {
     this.illumType = illumType;
 }