Timings for different texture sizes...

40 triangles @ 1024x768 game screen area:


texture: 512x512 = 1 frame per second
256x256 = 5 fps
128x128 = 12 fps
64x64 = 16 fps
32x32 = 16.5 fps but has some ugly artifacts and it crappy resolution.

My original guess of 64 by 64 is about optimal, my previous tests were with 128x128 textures.

There is still a bit of scope for optimisation. Hopefully I can get it up to 18-20fps by the weekend. Then the 3d math can have a bit of breathing space.