Browse Source

Added a terrain material that uses height and slope information to map textures instead of alphamap.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
ant..om 14 years ago
parent
commit
0248e92e3c

+ 2 - 2
engine/src/terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md

@@ -25,8 +25,8 @@ MaterialDef Terrain {
 	}
 	}
 
 
 	Technique {
 	Technique {
-		VertexShader GLSL130:   Common/MatDefs/Terrain/HeightBasedTerrain.vert
-		FragmentShader GLSL130: Common/MatDefs/Terrain/HeightBasedTerrain.frag
+		VertexShader GLSL100:   Common/MatDefs/Terrain/HeightBasedTerrain.vert
+		FragmentShader GLSL100: Common/MatDefs/Terrain/HeightBasedTerrain.frag
 
 
 		WorldParameters {
 		WorldParameters {
 			WorldViewProjectionMatrix
 			WorldViewProjectionMatrix