I created a parallax terrain shader which blends several parllax maps. It is working great in JME3. Now I added the the shader into JMP so I can check if it would work for the artists. The test left me with some questions.
You can see the behavior at the video. It shows the JME scene,everything normal. At minute 1 I switch to JMP where you can see the strange shifting of textures while the blue triangles move just slightly. Thereafter I delete my directional light where the terrain blurs, turning the scene light on and off creates strange artifacts, the terrain looks completely blured.
- what light is created when activating the light in scene viewer? is it possible to change the light parameters?
- anybody has a clue why the terrain seems to move in JMP but not in JME?
- I had to add a directional light to have the terrain display something besides blured textures, removing that light, or disabeling the scene light made the terrain blury. The parameters for the DL in JME and JMP were the same, the JME scene just needed one DL to display the textures.
I used the terrain demo height based terrain in jme, in jmp I exported a terrain from blender (.obj) and converted it into jme format then genrated tangents) There I had the idea to have a look at the mesh but when displaying it I have not found anything about what the mesh is composed of (vertex, normals, uv’s). Could you please add this to the mesh parameters display in JMP?
The shader will be avaliable to anyone, as soon as I have changed it to not rely on 4 terrain textures but anything from 1-4.
Any suggestions about this strange behavior in JMP is welcome, I’ll try to export my scene from jme and import it into jmp to just get sure it has nothing to do with the terrain.