Skip to main content
small edit
Source Link
sFuller
  • 227
  • 1
  • 2
  • 12

When loading a texture in OpenGL, how do I specify the origin of the data I am loading?

For example, how would I load a Targa that has it's origin at the top left instead of the bottom left of the image?

When loading a texture in OpenGL, how do I specify the origin of the data I am loading?

For example, how would I load a Targa that has it's origin at the top left instead of the bottom left?

When loading a texture in OpenGL, how do I specify the origin of the data I am loading?

For example, how would I load a Targa that has it's origin at the top left instead of the bottom left of the image?

Edited title.
Link
sFuller
  • 227
  • 1
  • 2
  • 12

How do I load a texture in OpenGL where the origin of the texture(0, 0) isn't in the bottom left?

Source Link
sFuller
  • 227
  • 1
  • 2
  • 12

How do I load a texture in OpenGL where the origin (0, 0) isn't in the bottom left?

When loading a texture in OpenGL, how do I specify the origin of the data I am loading?

For example, how would I load a Targa that has it's origin at the top left instead of the bottom left?