Details
Add Chroma Key GreenScreen effect to your camera.
Add it to the Camera GameObject via the Components menu
CameraFilterPack > Chroma Key > GreenScreen
Property |
Range |
Default |
---|---|---|
BlendFX | 0f to 1f | 1f |
Adjust | -0.2f to 0.2f | 0.0f |
Precision | -0.2f to 0.2f | 0.0f |
Luminosity | -0.2f to 0.2f | 0.0f |
Change_Red | -0.3f to 0.3f | 0.0f |
Change_Green | -0.3f to 0.3f | 0.0f |
Change_Blue | -0.3f to 0.3f | 0.0f |
Manipulate Chroma Key GreenScreen by script
Example:
// Drag and Drop your Camera GameObject
// with the Chroma Key GreenScreen component
// to your current script on the CamFX_Chroma Key_GreenScreen field
public CameraFilterPack_Blend2Camera_GreenScreen CamFX_ChromaKey_GreenScreen;
void Update()
{
CamFX_ChromaKey_GreenScreen.BlendFX = 1f;
}