File tree Expand file tree Collapse file tree 1 file changed +18
-20
lines changed
jme3-terrain/src/main/resources/Common/MatDefs/Terrain Expand file tree Collapse file tree 1 file changed +18
-20
lines changed Original file line number Diff line number Diff line change 1
1
MaterialDef Terrain {
2
2
3
- MaterialParameters {
4
- Int BoundDrawBuffer
3
+ MaterialParameters {
4
+ Int BoundDrawBuffer
5
5
6
6
// use tri-planar mapping
7
7
Boolean useTriPlanarMapping
8
8
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
17
21
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
+ }
25
25
26
26
Defines {
27
27
BOUND_DRAW_BUFFER: BoundDrawBuffer
28
28
TRI_PLANAR_MAPPING : useTriPlanarMapping
29
29
}
30
- }
31
-
32
- Technique {
33
30
}
31
+
34
32
}
You can’t perform that action at this time.
0 commit comments