Details

Add TV Broken Glass effect to your camera.

Add it to the Camera GameObject via the Components menuCameraFilterPack > TV > Broken Glass

*without and with Camera Filter Pack TV Broken Glass


Property

Range

Default

Broken_Small 0 to 128 0f
Broken_Medium 0 to 128 0f
Broken_High 0 to 128 0f
Broken_Big 0 to 128 1f
LightReflect 0 to 0.004f 0.002f

Manipulate TV Broken Glass by script

Example:

// Drag and Drop your Camera GameObject 
// with the TV Broken Glass component 
// to your current script on the CamFX_TV_Broken Glass field 

public CameraFilterPack_TV_BrokenGlass CamFX_TV_Broken Glass; 

void Update() 
{
	CamFX_TV_Broken Glass.Broken_Small =  0f;
}