Hi!
I’m attaching the TerrainQuad to the rootNode.TerrainQuad is created from raw float data passed in TerrainQuad Constructor.
TerrainQuad terrain= new TerrainQuad("map", tailSize, mapSize,heightMap);
mapSize=1025;
tailSize=(int) (FastMath.pow(2, 3)+1);
After that I’m lunching application I can see terrain like this below (which is quite good):
https://lh5.googleusercontent.com/-THKXrpWo5-Y/UuLwFlqHLBI/AAAAAAAAAKY/T8iJ3pUfeHw/w743-h550-no/before.jpg
But after about one second it changes to:
What is wrong about this? I’ve tried with a few different materials, setting the lights, but effect is somewhat similiar.
thanks for help