Tuesday, 15 May 2012

libgdx - Merging two Texture Regions -



libgdx - Merging two Texture Regions -

in libgdx game have textureregion1, serve base of operations textureregion. have textureregion2, should placed on top of first one.

there 'obvious solution' , render 2 textureregions on top of each other. require more rendering time , when rendering whole map 10 layers on each time, graphics processor wouldn't handle it.

so there way merge 2 textureregions in libgdx?

libgdx textures

No comments:

Post a Comment