Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Save Screenshot Background as Transparent

Author
Message
RustyKristy
8
Years of Service
User Offline
Joined: 13th Jan 2016
Location:
Posted: 13th Mar 2017 06:35
Hi,

I'm trying to do some 3D to 2D basic sprite creation. Is there a way to make the camera cls background transparent when saving it to file?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Mar 2017 07:58
I think you could use RenderToImage() and then save the image as PNG format.
If you need to see what you are rendering to your image, use the image on a sprite that is visible on screen.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
RustyKristy
8
Years of Service
User Offline
Joined: 13th Jan 2016
Location:
Posted: 10th Apr 2017 15:33
Thanks BatVink! and sorry for the late reply.

Login to post a reply

Server time is: 2024-04-19 00:24:00
Your offset time is: 2024-04-19 00:24:00