Skip to main content
Improved formatting and spelling.
Source Link
House
  • 73.3k
  • 17
  • 185
  • 273

Use glDrawElementsglDrawElements and pass GL_TRIANGLE_FANGL_TRIANGLE_FAN (4 indexes per quad).

You can use an uniform to get to a specific region in the texture, so your quads share the same texcoords but map to a certain area using the uniform variable.

Use glDrawElements and pass GL_TRIANGLE_FAN (4 indexes per quad).

You can use an uniform to get to a specific region in the texture, so your quads share the same texcoords but map to a certain area using the uniform variable.

Use glDrawElements and pass GL_TRIANGLE_FAN (4 indexes per quad).

You can use an uniform to get to a specific region in the texture, so your quads share the same texcoords but map to a certain area using the uniform variable.

Improved formatting and spelling.
Source Link

useUse glDrawElements and pass GL_TRIANGLE_FAN (4 indicesindexes per quad) you.

You can use aan uniform to get to a specific region in the texture, so your quads share the same texcoords but mapsmap to a certain area using the uniform variable.

use glDrawElements and pass GL_TRIANGLE_FAN (4 indices per quad) you can use a uniform to get to a specific region in the texture, so your quads share the same texcoords but maps to a certain area using the uniform variable

Use glDrawElements and pass GL_TRIANGLE_FAN (4 indexes per quad).

You can use an uniform to get to a specific region in the texture, so your quads share the same texcoords but map to a certain area using the uniform variable.

Source Link

use glDrawElements and pass GL_TRIANGLE_FAN (4 indices per quad) you can use a uniform to get to a specific region in the texture, so your quads share the same texcoords but maps to a certain area using the uniform variable