I am trying to export some images. I have a Spine model that I am animating and then at set intervals I draw this model to a RenderTarget which I then save as a png file. Whilst this does work, there are two issues I am experiencing with it...
1. The image seen in the Gideros Player is darker than the actual source art.
2. The exported RenderTarget has transparent areas where you can see through the model.
These are shown in the following image...
You can see that in the Gideros Player, none of the background shows through the model, but in the exported RenderTarget it does. You can also see the original art is much brighter than the one in the other two images.
So can anyone explain why these things are happening?
Comments
2) Show us the render code
This is the main.lua code I have...
Have you tried exporting the images without antialias and enable antialias in gideros on texturePack and/or on the rendertarget? it worked for me
This really is strange because it is ONLY when I am drawing to and saving the RenderTarget that I'm having any issues at all.
I think I might just flag this and buy Spine.
Likes: rodri, PaulH
If I use crispy edge source images (no translucent pixel at all - each pixel is 100% transparent or 100% coloured) all is well.