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.

I tried editing the code down to:
;tex0=LoadTexture( "CrackedStone_diff.bmp" )
;ScaleTexture tex0,16,16
tex1=LoadTexture( "track.bmp" )
ScaleTexture tex1,256,256
tex2=LoadTexture( "MossyGround.bmp" )
ScaleTexture tex2,16,16
TextureBlend tex2,3

;EntityTexture terrain,tex0,0,0
EntityTexture terrain,tex1,0,1
EntityTexture terrain,tex2,0,2


and that works, although it stretches tex2 out across the whole terrain. Then if I uncomment the lines (specifically the commented entitytexture), everything scales back down to be tiled. In the insaner demo it allows the track to be scaled big, while the other two are small. Not sure whats wrong now?