opengl es - LibGDX - Sprite to Pixmap -


i using libgdx small app project, , need somehow take series of sprites , place them (or pixels rather) pixmap. basic idea take random sprites generated through various means while app running, and, @ specific times, merge of them onto single background sprite.

i believe of can done easily, step of getting sprite images pixmap isn't quite obvious me. sprites have various transparent , semi-transparent pixels, grabbing color @ each pixel while on same screen isn't applicable either, shouldn't take background colors it.

if there suitable alternative accomplish looking love hear it. highly appreciated.

i think want render sprites off-screen buffer (called "fbo" or framebuffer in libgdx) (blending them they're added), , render offscreen buffer screen single draw call? if so, question should help: libgdx spritebatch render texture

this requires opengl es 2.0, eliminate support older devices.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -