UnityPlugin-AVProMovieCapture icon indicating copy to clipboard operation
UnityPlugin-AVProMovieCapture copied to clipboard

Support for URP Camera Stack

Open Borod4r opened this issue 3 years ago • 3 comments

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/[email protected]/manual/camera-stacking.html

Borod4r avatar Feb 17 '22 14:02 Borod4r

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

AndrewRH avatar Feb 18 '22 13:02 AndrewRH

May I ask if the issue has been resolved? I added a UI camera for stacking rendering, but it seems to have no effect.

ChrisTJie avatar Jul 20 '23 05:07 ChrisTJie

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.

stale[bot] avatar Dec 15 '23 06:12 stale[bot]