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
3.0
ant..om 14 years ago
parent a0f230f79f
commit 0248e92e3c
  1. 4
      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

Loading…
Cancel
Save