JME3 is an OpenGL-based library that uses GLSL shaders for rendering. You must write your own shader or modify an existing one to do custom rendering.
Shaders are an advanced theme. You can find an introduction to shaders in the SDK documentation. But, probably, you would like to read the full article on "Materials, light, shadow . "
JME3 uses three files to manage them:
.vertVertex Shader Code File GLSL.fragGLSL fragment shader code file- A
.j3mdshader program definition file
- GLSL. Vertex shader , . - ..j3md (), () ..
. Terrain.j3m, :
Texture2D tex4
Terrain.frag:
uniform sampler2D m_Tex4;
, , .