Slowdown

Blitz3D Forums/Blitz3D Beginners Area/Slowdown

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 the code I use to texture the terrain.
If I take off the lightmap then the program still runs at 50% but if i take off the grass texture it runs at full speed.
Tex = LoadTexture("media\Grass.bmp")
tex2 = LoadTexture("Media\h1l.bmp")
ScaleTexture tex2,TerrainSize(Terrain),TerrainSize(terrain)
EntityTexture Terrain,Tex

EntityTexture terrain,tex2,0,1