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 11MaterialDef 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}
You can’t perform that action at this time.
0 commit comments