Open Borod4r opened 2 years ago
This is a good suggestion and should be something we can add easily. It looks like we need to use this code to get the contributing cameras in URP:
var cameraData = camera.GetUniversalAdditionalCameraData();
List<Camera> cameras = cameraData.cameraStack;
To detect URP we may have to add a #define or perhaps we can use this automatic define system: https://gist.github.com/cjaube/944b0d5221808c2a761d616f29deaf49
May I ask if the issue has been resolved? I added a UI camera for stacking rendering, but it seems to have no effect.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe. Seems like there is no way to record video using URP Camera Stack. The
CaptureFromCamera
component doesn't recognize contributing cameras from the stack.Describe the solution you'd like Would be good to work with the URP Camera Stack feature in the same way as for old camera chaining.
Additional context Here is what I mean by URP Camera Stack: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.2/manual/camera-stacking.html