- Home /
Create a new texture at runtime combining a screenshot and uv unwrap
I've been doing some research on a project I'm working on and I'm trying to figure out the best way to go about this. I have a polaroid camera model, and I want to be have my player take a photo of of something in the game, and then have the photo print out and have their screenshot on it. This was my initial way of thinking for accomplishing this.
Take a screen shot through code (completed)
Stich together the UV unwrap of the polaroid photo and the screenshot
Create a new material using this image at runtime ( I know how to do this)
Apply the material to the photo at runtime (I know how to do this as well)
The issue I'm running into here is that the c# version of unity is missing some key libraries that enable image manipulation at runtime. Particularly the Graphics library. Here is a link showing how it could be relatively easy to accomplish #2. The fact that this is not present makes me think I'm most likely going about this in an incorrect way. I would love to hear either thoughts on how to accomplish this in the way I thought, or if there is a better way to accomplish this.
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Taking a screenshot in iOS/Android and save to file as well as Texture? 2 Answers
Surface Shader: Brick Texture problem 2 Answers
Assigning script-generated textures 0 Answers