opengl es texture que

Discussion in 'Public Game Developers Forum' started by cool mr croc, Aug 17, 2009.

  1. cool mr croc

    cool mr croc Active Member

    May 27, 2009
    41
    0
    0
    i can specify 4 vertices of a texture from 0-1, so i could use just a small area of the texture. is there anyway to do the same with where im mapping it to? can i take the full texture and make it fit in the top left corner of a square in the 3d world? can i then set a colour for the rest of it?

    at the moment all i can think of doing is have another square for this texture and display it 1 pixel above the bigger square underneath.
     
  2. cool mr croc

    cool mr croc Active Member

    May 27, 2009
    41
    0
    0

Share This Page