Jump to content

Screenshot with transparency


photo

Recommended Posts

d.vavilov

You need just to grab and RGBA image (Environment rendering should be enabled). In A channel there would be an alpha that will mask the background. Please check the attached RGBA picture - it has been grabbed with built-in Video Grabber tool from inside the Editor.

Thanks!

frame_5.zip

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

But how to do it in runtime?

var ima = new Image();
Render.GetScreenshot(ima);
ima.Save(AppDomain.CurrentDomain.BaseDirectory+"test.tga");

this code brings screenshot with background (haze), but same scene with Tracker and Video grabber gives screenshot without it

image.thumb.png.f38ca13bd8369f0d88aacca1c7d2f775.png

Link to comment
×
×
  • Create New...