Urho3D Wiki
mNo edit summary
Tags: Visual edit apiedit
(Updated Github links)
Tags: Visual edit apiedit
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
</gallery>
 
</gallery>
 
[[File:Urho_Terrain_Quad_Images.jpg|thumb|center|500px]]
 
[[File:Urho_Terrain_Quad_Images.jpg|thumb|center|500px]]
This is based on the [[Quad Textures|four textures in one image technique]]. The terrain shader shipped with Urho is extended with normal, specular and normal mapping. The normal mapping code is based on LitBase.glsl.
+
This is based on the [[Quad Textures|four textures in one image technique]]. The terrain shader shipped with Urho is extended with normal, specular and height mapping. The normal mapping code is based on LitBase.glsl.<br>
  +
This material is using four image files to get 13 textures out of them.
   
There is a material testing project using this: https://github.com/gawag/Urho_Material_Test/tree/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef The Blender files used to create the materials are also in there, in /blends.
+
There is a material testing project using this: https://github.com/damu/Urho_Material_Test/tree/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef<br>
  +
The Blender files used to create the materials are also in there, in /blends.
   
 
Direct links to material related files:
 
Direct links to material related files:
*Material file: https://github.com/gawag/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Materials/Terrain_quad_dsnh.xml
+
*Material file: https://github.com/damu/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Materials/Terrain_quad_dsnh.xml
*Technique file: https://github.com/gawag/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Techniques/TerrainBlend_quad_dsnh.xml
+
*Technique file: https://github.com/damu/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Techniques/TerrainBlend_quad_dsnh.xml
*GLSL Shader: https://github.com/gawag/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Shaders/GLSL/TerrainBlend_quad_dsnh.glsl
+
*GLSL Shader: https://github.com/damu/Urho_Material_Test/blob/046d9fd50fc1fb11ed6d3274fc7f66f975fb5bef/Build/bin/Data/Shaders/GLSL/TerrainBlend_quad_dsnh.glsl
*Grass texture: https://raw.githubusercontent.com/gawag/Urho_Material_Test/master/Build/bin/Data/Textures/blender_grass_quad.jpg
+
*Grass texture: https://raw.githubusercontent.com/damu/Urho_Material_Test/master/Build/bin/Data/Textures/blender_grass_quad.jpg
*Bricks texture: https://raw.githubusercontent.com/gawag/Urho_Material_Test/master/Build/bin/Data/Textures/blender_bricks_quad.jpg
+
*Bricks texture: https://raw.githubusercontent.com/damu/Urho_Material_Test/master/Build/bin/Data/Textures/blender_bricks_quad.jpg
*Sand texture: https://raw.githubusercontent.com/gawag/Urho_Material_Test/master/Build/bin/Data/Textures/blender_sand_quad.jpg
+
*Sand texture: https://raw.githubusercontent.com/damu/Urho_Material_Test/master/Build/bin/Data/Textures/blender_sand_quad.jpg
*Splatting texture: https://raw.githubusercontent.com/gawag/Urho_Material_Test/master/Build/bin/Data/Textures/splatting.png
+
*Splatting texture: https://raw.githubusercontent.com/damu/Urho_Material_Test/master/Build/bin/Data/Textures/splatting.png

Latest revision as of 01:44, 12 March 2016