Hi out there,
Like many others i need your help.
I googled for a couple of hours to solve my texture manipulation problem but i couldn’t find anything helpful, so i hope someone here can help me out.
I want to read out the data of a loaded texture (RGB8). In particular i want to read AND write data from and to it - i thought it maybe could be done in one step - but what i’m trying doesn’t seem to work. I must admit that i’m not a senior C/C++ programmer so maybe there lies the problem.
I have a terrain mesh which is textured using 2 “ordinary” textures and an “alpha map” which allows me to blend the 2 textures. What i want to do is: click on the terrain and change the alpha texture (value) at that pixel so that the second texture is more and more blended over the first.