|
Hey there,
I noticed something weird when using Image.getColor. I have an OpenGL displaylist containing my terrain. When generating the displaylist I get the color of an Image at every point of the heightmap, using getColor(xx,yy) in my for-loop. However, I've noticed that after I did that, my terrain suddenly got the heightmap texture. So I did some debugging and when I removed the getColor line for checking my height, the texture didn't change. I've looked through the source code but can't find anything that causes this.
Anyone got an idea why this happens/how this can be fixed?
|