0
\$\begingroup\$

Is it possible to add one texture to another texture, at specific coordinates? Like if I want to add a small texture(16x16) to big texture (1368 x 768) with coordinates ( 100, 100) so the small texture goes to specific coordinates (100, 100 ).

\$\endgroup\$
5
  • \$\begingroup\$ Other than that it involves textures, coordinates, OpenGL and C++, I don't understand what you're asking. \$\endgroup\$
    – Anko
    Feb 3, 2014 at 12:06
  • \$\begingroup\$ I got it. If I split the background texture to 16x16 quads I just need to edit one quad (add other texture to it ) and it is done. \$\endgroup\$
    – Alker
    Feb 3, 2014 at 12:11
  • \$\begingroup\$ I still don't get it, but I'm glad you've solved your problem. :D \$\endgroup\$
    – Anko
    Feb 3, 2014 at 12:12
  • \$\begingroup\$ So I wanted put other texture to texture ( blend them together) with exact coordinates inside the other texture. Like I wanna put 16x16 texture to 100,100 etc. You got it now ? \$\endgroup\$
    – Alker
    Feb 3, 2014 at 12:13
  • 1
    \$\begingroup\$ Actually this is a cross post from SO which is frowned upon. \$\endgroup\$
    – concept3d
    Feb 3, 2014 at 12:29

1 Answer 1

0
\$\begingroup\$

Yes, glTexSubImage may be what you are looking for.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .