Terrain Splatting doesn’t splat in the right places (solved)

I’m pretty new to JMonkey, so this may be a stupid question, but after basically copying the code for the terrain splatting example to my project and supplying my own textures and image for heightmap I was distressed to see that they didn’t line up in the world when I ran. The splat map basically got procedurally generated by getting the intensity of a pixel on the heightmap and coloring it red, blue, or green based on that value (so there is a pixel to pixel correspondence between the two).



Short story, there should be snow on the peaks and gravel in the valleys but there isn’t, and I can’t figure out why they don’t just line up. Anybody have any ideas?



-B

I figured out that this was due to the default behavior of the assetManager being to vertically flip textures on load (though I never saw this stated anywhere but the forums, so it should probably go into the terrain tutorial).



-B