- Home /
Rendering screen on texture and grabbing part of it
I have a background plane rendered by an external plugin which grabs a webcam and displays it. I'm displaying an object over this plane (augmented reality) which for simplicity's sake I'm drawing here as a cube
What I would like to do now is to use my cube object as a stencil mask to grab that portion of the screen only
if this were a normal scene I would just set stencil to 1 in my object's shader and then set a stencil compare for stencil == 1
in the webcam panel, but I don't have control over the background panel shader.
How can I accomplish this? I'm currently out of ideas for this task
Your answer
Follow this Question
Related Questions
Assigning UV Map to model at runtime 0 Answers
RenderTexture to create a movie very fast 1 Answer
Render material to full screen quad 2 Answers
Need help with creating dynamic textures. 1 Answer
Weird Ground Texture Lines 3 Answers