blob: 152f51123e7659e652cc9366d3e19764c79faf15 [file] [log] [blame]
MaterialDef Terrain {
MaterialParameters {
// use tri-planar mapping
Boolean useTriPlanarMapping
Texture2D Alpha
Texture2D Tex1
Texture2D Tex2
Texture2D Tex3
Float Tex1Scale
Float Tex2Scale
Float Tex3Scale
}
Technique {
VertexShader GLSL100: Common/MatDefs/Terrain/Terrain.vert
FragmentShader GLSL100: Common/MatDefs/Terrain/Terrain.frag
WorldParameters {
WorldViewProjectionMatrix
}
Defines {
TRI_PLANAR_MAPPING : useTriPlanarMapping
}
}
Technique FixedFunc {
}
}