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
This commit is contained in:
parent
a0f230f79f
commit
0248e92e3c
@ -25,8 +25,8 @@ MaterialDef Terrain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Technique {
|
Technique {
|
||||||
VertexShader GLSL130: Common/MatDefs/Terrain/HeightBasedTerrain.vert
|
VertexShader GLSL100: Common/MatDefs/Terrain/HeightBasedTerrain.vert
|
||||||
FragmentShader GLSL130: Common/MatDefs/Terrain/HeightBasedTerrain.frag
|
FragmentShader GLSL100: Common/MatDefs/Terrain/HeightBasedTerrain.frag
|
||||||
|
|
||||||
WorldParameters {
|
WorldParameters {
|
||||||
WorldViewProjectionMatrix
|
WorldViewProjectionMatrix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user