Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

Issue ID

1058801

Regression

No

[LWRP] A problem with using multiple camera and setting Viewport Rect.

Graphics - General

-

SRP Repo: Issue #1454

When using multiple camera and setting Viewport Rect, this problem will occur.

Setup a scene like a following:

1st Camera
Depth: 0
ViewportRect: 0, 0, 0.5, 1(x,y,w,h)
2nd Camera
Depth: 1
ViewportRect: 0.5, 0, 0.5, 1
1st Canvas
RenderMode: Screen Space - Camera
Camera
Depth: 2
ClearFlags: DepthOnly
ViewportRect: 0, 0, 0.5, 1
2nd Canvas and Canvas Camera
RenderMode: Screen Space - Camera
Camera
Depth: 3
ClearFlags: DepthOnly
ViewportRect: 0.5, 0, 0.5, 1
I think, it expects that 1st camera and canvas has rendered left side of screen and 2nd staff has renderied right side of screen.

If not using LWRP gets correct result.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.