u,v Coord Question

Blitz3D Forums/Blitz3D Programming/u,v Coord Question

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.

No. The top left 2x2 pixels would be the following

0,0
1,0
0,1
1,1

which would translate to coords as

0,0
1/255.0, 0
0, 1/255.0
1/255.0, 1/255.0

It would be 1/255.0 instead of 256.0 because the bottom right would be pixel 255,255, uv coord 1,1. Which means 255/255, 255/255.