Quickstart: Using Composite Canvas Renderer
mainFollow these steps to set up a composite rendering area:
- Create a GameObject: Add the
CompositeCanvasRenderercomponent to a new GameObject. - Add UI Elements: Add child UI elements such as
Image,RawImage,Text, orTextMeshProUGUIto this GameObject. - Define Baking Area: The baking area is determined by the
RectTransform.sizeand theExpandsoption. You can visualize this area in the Scene view as a magenta rectangle. - Configure Effects: Adjust the
CompositeCanvasRenderersettings in the Inspector and select an effect to fine-tune its parameters.