How do I render only part of a texture to a point sprite in OpenGL ES for Android?
- by nbolton
Using the libgdx framework, I've figured out how to render a texture to a point sprite. The problem is, it renders the entire texture to the point sprite, where I only want a small part of it (since it's an isometric tile image).
Here's a snippet from some demo code I wrote...
create()
{
renderer = new ImmediateModeRenderer();
tiles =…