summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank v/d Haterd <f.h.a.v.d.haterd@student.tue.nl>2013-12-18 16:24:16 +0100
committerFrank v/d Haterd <f.h.a.v.d.haterd@student.tue.nl>2013-12-18 16:24:16 +0100
commita575b891596b268686f6a68207169d0500d4f604 (patch)
tree4072d57067274545203b114e579beba9bf013165
parent84ebb68e5702b7288e1954b0c220061772761b9c (diff)
download2iv60-robots-a575b891596b268686f6a68207169d0500d4f604.tar.gz
Material final fix
-rw-r--r--src/Material.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Material.java b/src/Material.java
index 38ae8b9..f8b6bca 100644
--- a/src/Material.java
+++ b/src/Material.java
@@ -8,15 +8,15 @@ public enum Material {
* Modify the default values to make it look like gold.
*/
GOLD (
- new float[] {0.75164f, 0.60648f, 0.22648f, 1.0f},
- new float[] {0.628281f, 0.555802f, 0.366065f, 1.0f}),
+ new float[] {1f, 0.5f, 0f, 1.0f},
+ new float[] {1f, 0.5f, 0f, 1.0f}),
/**
* Silver material properties.
* Modify the default values to make it look like silver.
*/
SILVER (
- new float[] {0.50754f, 0.50754f, 0.50754f, 1.0f},
+ new float[] {0.35f, 0.35f, 0.35f, 1.0f},
new float[] {0.508273f, 0.508273f, 0.508273f, 1.0f}),
/**
@@ -32,8 +32,8 @@ public enum Material {
* Modify the default values to make it look like orange.
*/
ORANGE (
- new float[] {0.5f, 0.5f, 0.0f, 1.0f},
- new float[] {0.6f, 0.6f, 0.5f, 1.0f});
+ new float[] {0.5f, 0.2f, 0f, 1.0f},
+ new float[] {0.5f, 0.2f, 0f, 1.0f});
/** The diffuse RGBA reflectance of the material. */
float[] diffuse;