🖼️Composition Setups
This page contains information on how to setup a custom composition setup and detailed information about the example compositions packaged in the plugin
Overview
A composition in Unreal Engine (UE) is the process of combining multiple visual elements in a single output. Using the Composure plugin, you can layer live camera feeds, CG backgrounds, and effects as needed for your project. CameraTwin integrates with this system, so you can add your CameraTwin camera stream as an input layer in any composition.
We focus on two main categories of composition setups: green/blue screen setups and AR/XR setups. Green or blue screen compositions place your color-keyed real foreground over a virtual background. AR/XR compositions add CG elements into the live camera feed, so digital assets appear within your real environment.
Getting Started with your Composition Setup
You can start by opening the Composure Compositing window by going to the Main menu of UE under the Window → Virtual Production → Composure Compositing or open Window submenu and strat typing "Composure Compositing". You can also dock this window inside your editor if you prefer.\
At first, this window will be blank. Add your first composition by right-clicking inside the window and select the option "Create New Comp", this will create your composition in which usually there is a Compositing Element Material Pass where all input layers are composited or blended according to the material logic. You can also add tonemap, post-processing and color grading passes if needed. \
After creating your composition, add layer elements right-clicking on the composition. Make sure to expand the "ALL CLASSES" section to access predefined layer elements like BP_CT_InputStreamElement, which is the CameraTwin camera stream input and BP_CT_CG_Element, which is similar to the default CG layer but with the color grading disabled. Color grading is disabled because CameraTwin automatically updates camera parameters of the virtual camera in your scene to match the real camera parameters (i.e. exposure, white balance, tint, ISO). Applying additional color grading on the CG layer would interfere with this automatic color matching feature.\
Add your desired layer elements to your composition. Start with one BP_CT_InputStreamElement and one BP_CT_CG_Element. Optionally, group related actors in the Outliner window using a parent-children structure as shown in the image.
Select the Composition Actor in your Outliner window and assign the appropriate material for your composition. We recommend using one of our ready-to-use materials like the M_CT_2L_Composition (M = Material, CT = CameraTwin, 2L = 2 Layers), which is simple starting point for blending your color-keyed camera stream over your CG background. Assign the right input elements to the material and your are ready to preview your composition.\
Green Screen Compositions
🚧Documentation coming soon 🚧
AR/XR Compositions
🚧Documentation coming soon 🚧
Last updated