Browse Source

PBR sample terrain fixed (#2657)

gleblebedev 5 years ago
parent
commit
f98d2cfd49
2 changed files with 4 additions and 4 deletions
  1. 3 3
      bin/Data/Materials/PBRTerrain.xml
  2. 1 1
      bin/Data/Scenes/PBRExample.xml

+ 3 - 3
bin/Data/Materials/PBRTerrain.xml

@@ -1,9 +1,9 @@
 <material>
     <technique name="Techniques/PBR/PBRTerrainBlend.xml" />
     <texture unit="0" name="Textures/TerrainWeights.dds" />
-    <texture unit="1" name="Textures/TerrainDetail1.dds" />
-    <texture unit="2" name="Textures/TerrainDetail2.dds" />
-    <texture unit="3" name="Textures/TerrainDetail3.dds" />
+    <texture unit="1" name="Textures/PBR/Sand/Albedo.jpg" />
+    <texture unit="2" name="Textures/PBR/Mud/Albedo.jpg" />
+    <texture unit="3" name="Textures/PBR/Concrete/Albedo.jpg" />
     <parameter name="MatSpecColor" value="0.0 0.0 0.0 0.0" />
     <parameter name="DetailTiling" value="32 32" />
     <parameter name="Roughness" value="1" />

+ 1 - 1
bin/Data/Scenes/PBRExample.xml

@@ -1137,7 +1137,7 @@
 					<attribute name="Brightness Multiplier" value="5000" />
 					<attribute name="Use Physical Values" value="true" />
 					<attribute name="Cast Shadows" value="true" />
-					<attribute name="CSM Splits" value="10 20 30 40" />
+					<attribute name="CSM Splits" value="4 16 128 1024" />
 				</component>
 			</node>
 		</node>