Virion wrote:wow now that's something very interesting! good job Lonesome Ducky! are you using glsl?
I'm actually using HLSL, I'm sure devsh would kill me if he were still here
3DModelerMan wrote:How did you get the heightmap info from the terrain scene node?
It's actually my own custom scene node, because it requires a lot more than I could get out of the regular one. But basically, I go through all the vertices to find the highest one. Then, I divide every other vertex by the highest point, and times by 255. That gives me the color for that place on the heightmap.
I made the tool myself because I need the terrain to tile with itself, and I didn't know of any tool that could do this. I plan on making the world wrap around itself, and I made it so this effects it like it's connected to itself on all 4 edges. Kinda weird to think about, but it's helped me alot