Releases: alelievr/HDRP-UI-Camera-Stacking
MSAA support
It's now possible to use MSAA to render the UI using the HDRP Camera UI component.
- A new
msaa
field allows you to choose how many samples you want. - The msaa field is ignored when a target texture is assigned to the UI camera. In this case to enable MSAA, you need to enable it on the RenderTexture assigned to the camera instead.
White screen fix
This release fixes a major issue where the UI compositing made the screen white: #22
Add camera filtering
The Target Camera field specifies which camera will receive the UI. By default, the Main value only adds the UI to the main camera. The All value outputs the UI to every camera in the scene. The Layer value allows you to filter cameras by layer. The Specific mode allows you to only output the UI to a specific camera.
RenderTexture support
This new release comes with the native support of RenderTextures. There are two possible workflows:
- Assign a RenderTexture to your UI Camera and use it in another object (for world-space UI for example).
- Assign a RenderTexture to your main camera and use it inside your UI (as a background for example), then in your UI camera enable the toggle
Render In Camera Buffer
to force the rendering to the main display.
New:
- Compositing Mode: Select how you want the compositing to happen. See the readme tutorial for more info.
- Render In Camera Buffer: Forces the UI camera to render in the camera buffer (either the Display or the RenderTexture if not null).
Fix min HDRP version
Fixed the minimal requirement for HDRP version (it was 11.0 instead of 10.1)
First stable version!
This version Improves stability and fixes issues related to Unlit object rendering in a canvas.
Initial release
The HDRP UI Camera Stacking package allows you to stack multiple camera rendering UI only at a fraction of the cost of a standard camera.
This is achieved by taking advantage of the customRender feature to render only the GUI elements and nothing else, with the only downside to not be able to render Lit objects which are generally found for UI.
Features:
- No post-process bleeding on UI (motion vectors, ect.)
- No clipping in the geometry
- priority sorting of cameras