Texture issues.

Blitz3D Forums/Blitz3D Programming/Texture issues.

Vertigo(Posted 2007) [#1]
Hello. I was curious what blend mode I should be using and how I should go about loading multiple textures onto a terrain. Say I have index 0 as grass scaled multiple times. index 1 I want another multiple x,y scaled texture that is a stone walk way or dirt path and I want that alpha'd onto the original. Index 2 I want as a light map.

While I have all of the above working, it just seems to like 50% blend them all together. ala the stone walk way looks like its half visible grass under it. Playing the with the blend modes for the stone texture doesnt seem to work, not to mention I have to scale the small 512x512 texture the entire size of the terrain, when really id like it repeated multiple times, but only in specific sections. I have searched the archives but without much luck.

Thanks guys.


skidracer(Posted 2007) [#2]
The insaner demo (in the mak folder of blitz3d samples) has the optimal way to combine textures without resorting to multipass rendering.