Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Is it possible to create a texturepack from a renderTarget? — Gideros Forum

Is it possible to create a texturepack from a renderTarget?

piepie Member
edited May 2016 in General questions
I usually do this:
local pack = TexturePack.new("pack.txt", "pack.png")
But this time I need to pass pack.png through a shader before, which gets me a renderTarget object with my shaded texture.
is there any chance to switch pack.png with the rendered texture?
My goal would be to use pack:getTextureRegion() using regions defined in packs.txt, while using renderTarget element as source image.

Any help is appreciated, thank you :)
Sign In or Register to comment.