The title explains the problem pretty well.
Currently trying to work with TerrainLighting to add more than 3 different Textures to my map, but somehow the AlphaMaps (got 2 atm) are overwriting each other. Searching the wiki i found 2 examples of AlphaMaps (http://postimg.org/image/7aa0uzwjd/ & http://postimg.org/image/erj8a7m2h/ ), but they dont work for me and also a thread which is about the same problem, but which is deleted already xD (https://hub.jmonkeyengine.org/forum/topic/setting-more-than-three-texture-splats/ ). Wiki seems to be offline too, so i cant even check it.
Would be anyone so kind and describe why its been overwritten and how to fix it?
tyvm
(using slightly edited code from jmonkeyengine/TerrainTestAdvanced.java at master · jMonkeyEngine/jmonkeyengine · GitHub )
what do you mean when you say ‘overwritten’ ? is one map completely being ignored, or are you splatting multiple textures one on top of the other (like both alpha maps have colours on the same pixels) ? a couple of pictures showing your alpha maps and the result could be handy.
only the last registered one is represented.
but i copy and pasted the code now, and its working so it seems like the problem re some of my edits, i ll figure it out.
another question is: is there an easy way (for example a already created method) to get the Texture at a specific point of the map?
Aramis:
only the last registered one is represented.
but i copy and pasted the code now, and its working so it seems like the problem re some of my edits, i ll figure it out.
perhaps you were inadvertently setting the same AlphaMap twice.