From 0248e92e3ca7cb491ea545e03967cbebcc8ccb47 Mon Sep 17 00:00:00 2001 From: "ant..om" Date: Tue, 31 May 2011 17:14:39 +0000 Subject: [PATCH] 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 --- .../terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md b/engine/src/terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md index 856a09e97..4b836f087 100644 --- a/engine/src/terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md +++ b/engine/src/terrain/Common/MatDefs/Terrain/HeightBasedTerrain.j3md @@ -25,8 +25,8 @@ MaterialDef Terrain { } 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 { WorldViewProjectionMatrix