I think my question will be more like 'how to connect some things WITH your engine' rather than exactly about your engine(excuse me :)), But for first let me explain the situation;) I have a map for my game loaded from the png file, i make an Heightmap object from it. Everything works fine, map as a heightmap object exists in the game. Now, i have a colormap also as a png image, and i want to texture my heightmap with that colormap. And here is the problem. I have hlsl effect file, that compiles, and works, but is not texturing te heightfield. I've checked some trivial issues, that i tought can be the problem, but still the only sign of the colormap on the heightmap in game is a single color applied to all of it.
I guess i miss some 'part', in example assigning texture(colormap) coordinates to the heightmap coordinates? (When we have for example an object (.obj, .3ds etc), the object has texture coordinates i guess). But i don't have a clue, how to do this with the heightmap object. Have anyone ever tried to texture heightmap in such way? Any ideas what can be the issue?
Thank You very much for any reply :)