playMaker

Author Topic: Saving texture with transparency  (Read 592 times)

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 139
    • View Profile
    • multiplayer adult fighting
Saving texture with transparency
« on: April 12, 2018, 01:51:28 AM »
Hey, guys!
I wonder, is it possible to render and save a texture with transparency at runtime?

I mean take a picture from camera and save it as image but keeping the camera background transparent?
I thought RenderTexture and this action converting RenderTexture to Texture2D could help me, but it have some weird behavior: When I try to save a picture it does not make a snapshot at current time, but record all the previous object movement. So, I can have an object on transparent background but with all the trails behind...

Is it a RenderTexture limitation? Is it even possible to save a picture with transparency?     
indie developer of multiplayer adult fighting
http://nakedfighter3d.com

nFighter

  • Beta Group
  • Full Member
  • *
  • Posts: 139
    • View Profile
    • multiplayer adult fighting
Re: Saving texture with transparency
« Reply #1 on: April 14, 2018, 06:52:57 PM »
Sorry for bumping my own thread, but didn't anyone really ever try to grab a picture with transparency?
indie developer of multiplayer adult fighting
http://nakedfighter3d.com