Add 3D Binary effect to your camera.

3D Binary use the depth of the scene. You must set the distance to fit with your scene. Use also the _FixDistance in order to fix the scene distance if the scene is big or small.

Add it to the Camera GameObject via the Components menuCameraFilterPack > 3D > Binary

*without and with Camera Filter Pack 3D Binary




_FixDistance 0f to 100f 2f
LightIntensity -5f to 5f 0f
MatrixSize 0f to 8f 2f
MatrixSpeed -4f to 4f 1f
Fade 0f to 1f 1f
FadeFromBinary 0f to 1f 0f

Manipulate 3D Binary by script


// Drag and Drop your Camera GameObject 
// with the 3D Binary component 
// to your current script on the CamFX_3D_Binary field 

public CameraFilterPack_3D_Binary CamFX_3D_Binary; 

void Update() 
	CamFX_3D_Binary._FixDistance =  2f;