Common.MatDefs.Terrain.Terrain.j3md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-terrain Show documentation
Show all versions of jme3-terrain Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
The newest version!
MaterialDef Terrain {
MaterialParameters {
Int BoundDrawBuffer
// use tri-planar mapping
Boolean useTriPlanarMapping
Texture2D Alpha -LINEAR
Texture2D Tex1
Texture2D Tex2
Texture2D Tex3
Float Tex1Scale
Float Tex2Scale
Float Tex3Scale
}
Technique {
VertexShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.vert
FragmentShader GLSL300 GLSL150 GLSL100: Common/MatDefs/Terrain/Terrain.frag
WorldParameters {
WorldViewProjectionMatrix
}
Defines {
BOUND_DRAW_BUFFER: BoundDrawBuffer
TRI_PLANAR_MAPPING : useTriPlanarMapping
}
}
Technique {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy