i like to create a greenscreen, where my first person cam view is masked by either the decal mask buffer or translucency alpha buffer.
in the masked area, there should render another camera in another part of the level.
(the second cam is also moved by the user inputs of the first person cam)
so in the end i want to mask out a rendertarget by a framebuffer of the firstperson cam.
is this possible?
just for the record: this is how the “greenscreen” post process material currently looks.
it works so far.
though i have problems with the scale of the greenscreen rendering. when i want to see the point of interest of the backdrop, i have to rotate the capture scene 2d to the floor.
also i do not know how to handle the postprocessing of the captured image.
when i use hdr, the result won’t be bloomed in the scene camera…still much to do here.
the scene cam has to be affected by a post process volume and in the “Misc” settings of this post process there is the “blended” entry, where you put your post process material.