Details
Add 3D BlackHole effect to your camera.
3D BlackHole 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 menu
CameraFilterPack > 3D > BlackHole
*without and with Camera Filter Pack 3D BlackHole
Property |
Range |
Default |
---|---|---|
_FixDistance | 0f to 100f | 5f |
_Distance | -0.99f to 0.99f | 0.05f |
_Size | 0f to 1f | 0.25f |
DistortionLevel | -2f to 2f | 1.2f |
DistortionSize | 0f to 1f | 0f |
AutoAnimatedNearSpeed | -5f to 5f | 0.5f |
AutoAnimatedNear | true or false | false |
Manipulate 3D BlackHole by script
Example:
// Drag and Drop your Camera GameObject
// with the 3D BlackHole component
// to your current script on the CamFX_3D_BlackHole field
public CameraFilterPack_3D_BlackHole CamFX_3D_BlackHole;
void Update()
{
CamFX_3D_BlackHole._FixDistance = 5f;
}