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.

Heres my code for multitexturing:


level=LoadTerrain("sweeet.bmp")
land=LoadTexture("land.bmp")
terra_detail=400000
TerrainShading level,terra_shade
ScaleTexture land,100,100
EntityTexture level,land,0,0
d=LoadTexture("tex1.bmp")
EntityTexture level,d,1,3
ScaleTexture d,0.2,0.2
RotateEntity level,0,160,0
ScaleEntity level ,1000,500000,1000
EntityType level,type_level
EntityPickMode level,3,5
MoveEntity level,-150,-50,-500
d2=LoadTexture("tex1.bmp")
EntityTexture level,d2,0,2
ScaleTexture d2,50,50
d3=LoadTexture("tex1.bmp")
EntityTexture level,d3,0,3
ScaleTexture d3,5,5
While Not KeyHit(1)
If KeyDown(200) Then
MoveEntity camera,0,0,1
EndIf

hope this helps.