RenderHeads / UnityPlugin-AVProMovieCapture

AVPro Movie Capture is a Unity Plugin for advanced video capture to AVI/MP4/MOV files
https://renderheads.com/products/avpro-movie-capture/
49 stars 8 forks source link

Support for URP Camera Stack #157

Open Borod4r opened 2 years ago

Borod4r commented 2 years ago

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

AndrewRH commented 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

ChrisTJie commented 1 year ago

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

stale[bot] commented 11 months ago

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.