"Mixing" Textures

Blitz3D Forums/Blitz3D Beginners Area/"Mixing" Textures

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Just run through all the pixels in the two hightmap images and add the RGB components of the two corresponding pixels together separately, then divide these values by two to find the RGB of the new hightmap pixel. If you want to do this to use with the LoadTerrain command, you only have to deal with the red channel, I believe.