Can Scene Capture 2D render only part of the viewport?

fireapache
Fri, 19 Aug 2016 06:02:18 +0000
Rendering

Hi, I’m implementing a portal effect and I’m using scene capture 2D in order to generate the portal’s destination: https://youtu.be/6QCgtk4MpJ8

I’m concern about rendering optimization where the problem is that the portal may be far way, but the scene capture component will always be rendering the entire screen to the render target texture…

Is there any way I can specify only part of the viewport to be rendered by the scene capture component? Maybe using rectangle coordinates (x1,y1,x2,y2) so the scene capture will not render things that are outside the portal bounds and therefore will be discarted.

Thanks!

10 posts - 6 participants