terrain multitexturing

Blitz3D Forums/Blitz3D Programming/terrain multitexturing

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.

This is what I have so far... still plugging at it.
	sandAmap=LoadTexture("sand.png",2)
	ScaleTexture sandAmap,512,512
	EntityTexture terr,sandAmap,0,0
	
	sand=LoadTexture("Sand00.png")
	ScaleTexture sand,5,5
	EntityTexture terr,sand,0,1
	
	rockAmap=LoadTexture("rock.png",2)
	ScaleTexture rockAmap,512,512
	EntityTexture terr,rockAmap,0,2

	rock=LoadTexture("Rock02.png")
	ScaleTexture rock,10,10
	EntityTexture terr,rock,0,3


btw, is this even a good idea? it seems i'll end up using as many as 6 texture layers (lightmap, detail map, and the above).