Browse Source

Further tweaks of TestScene lighting.

Lasse Öörni 13 years ago
parent
commit
ad2e0154c9

+ 1 - 1
Bin/Data/Materials/Stone.xml

@@ -3,5 +3,5 @@
     <technique name="Techniques/Diff.xml" quality="0" />
     <texture unit="diffuse" name="Textures/StoneDiffuse.dds" />
     <texture unit="normal" name="Textures/StoneNormal.dds" />
-    <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+    <parameter name="MatSpecColor" value="0.3 0.3 0.3 16" />
 </material>

+ 1 - 1
Bin/Data/Materials/StoneSmall.xml

@@ -3,7 +3,7 @@
     <technique name="Techniques/Diff.xml" quality="0" />
     <texture unit="diffuse" name="Textures/StoneDiffuse.dds" />
     <texture unit="normal" name="Textures/StoneNormal.dds" />
-    <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+    <parameter name="MatSpecColor" value="0.3 0.3 0.3 16" />
     <parameter name="UOffset" value="0.125 0 0 0" />
     <parameter name="VOffset" value="0 0.125 0 0" />
 </material>

+ 1 - 1
Bin/Data/Materials/StoneTiled.xml

@@ -3,7 +3,7 @@
     <technique name="Techniques/Diff.xml" quality="0" />
     <texture unit="diffuse" name="Textures/StoneDiffuse.dds" />
     <texture unit="normal" name="Textures/StoneNormal.dds" />
-    <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+    <parameter name="MatSpecColor" value="0.3 0.3 0.3 16" />
     <parameter name="UOffset" value="4 0 0 0" />
     <parameter name="VOffset" value="0 4 0 0" />
 </material>

+ 1 - 1
Bin/Data/Materials/StoneTiledH.xml

@@ -3,7 +3,7 @@
     <technique name="Techniques/Diff.xml" quality="0" />
     <texture unit="diffuse" name="Textures/StoneDiffuse.dds" />
     <texture unit="normal" name="Textures/StoneNormal.dds" />
-    <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+    <parameter name="MatSpecColor" value="0.3 0.3 0.3 16" />
     <parameter name="UOffset" value="10 0 0 0" />
     <parameter name="VOffset" value="0 0.5 0 0" />
 </material>

+ 2 - 2
Bin/Data/Scripts/TestScene.as

@@ -129,7 +129,7 @@ void InitScene()
 
     Node@ zoneNode = testScene.CreateChild("Zone");
     Zone@ zone = zoneNode.CreateComponent("Zone");
-    zone.ambientColor = Color(0.1, 0.1, 0.1);
+    zone.ambientColor = Color(0.15, 0.15, 0.15);
     zone.fogColor = Color(0.5, 0.5, 0.7);
     zone.fogStart = 100.0;
     zone.fogEnd = 300.0;
@@ -137,7 +137,7 @@ void InitScene()
 
     {
         Node@ lightNode = testScene.CreateChild("GlobalLight");
-        lightNode.direction = Vector3(0.35, -0.5, 0.425);
+        lightNode.direction = Vector3(0.3, -0.5, 0.425);
 
         Light@ light = lightNode.CreateComponent("Light");
         light.lightType = LIGHT_DIRECTIONAL;