Skip to content

Commit 06f178d

Browse files
authored
Terrain.j3md: removed incorrect 'Tecnique' block.
1 parent b711c77 commit 06f178d

File tree

1 file changed

+18
-20
lines changed
  • jme3-terrain/src/main/resources/Common/MatDefs/Terrain

1 file changed

+18
-20
lines changed
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,32 @@
11
MaterialDef Terrain {
22

3-
MaterialParameters {
4-
Int BoundDrawBuffer
3+
MaterialParameters {
4+
Int BoundDrawBuffer
55

66
// use tri-planar mapping
77
Boolean useTriPlanarMapping
88

9-
Texture2D Alpha -LINEAR
10-
Texture2D Tex1
11-
Texture2D Tex2
12-
Texture2D Tex3
13-
Float Tex1Scale
14-
Float Tex2Scale
15-
Float Tex3Scale
16-
}
9+
Texture2D Alpha -LINEAR
10+
Texture2D Tex1
11+
Texture2D Tex2
12+
Texture2D Tex3
13+
Float Tex1Scale
14+
Float Tex2Scale
15+
Float Tex3Scale
16+
}
17+
18+
Technique {
19+
VertexShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.vert
20+
FragmentShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.frag
1721

18-
Technique {
19-
VertexShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.vert
20-
FragmentShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.frag
21-
22-
WorldParameters {
23-
WorldViewProjectionMatrix
24-
}
22+
WorldParameters {
23+
WorldViewProjectionMatrix
24+
}
2525

2626
Defines {
2727
BOUND_DRAW_BUFFER: BoundDrawBuffer
2828
TRI_PLANAR_MAPPING : useTriPlanarMapping
2929
}
30-
}
31-
32-
Technique {
3330
}
31+
3432
}

0 commit comments

Comments
 (0)