Details
Add 3D Shield effect to your camera.
3D Shield 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 > Shield
*without and with Camera Filter Pack 3D Shield
Property |
Range |
Default |
---|---|---|
_FixDistance | 0f to 100f | 1.5f |
_Distance | -0.99f to 0.99f | 0.4f |
_Size | 0f to 0.5f | 0.5f |
_FadeShield | 0f to 1f | 0.75f |
LightIntensity | -0.2f to 0.2f | 0.025f |
AutoAnimatedNearSpeed | -5f to 5f | 0.5f |
Speed | 0f to 10f | 0.2f |
Speed_X | 0f to 10f | 0.2f |
Speed_Y | 0f to 1f | 0.3f |
Intensity | 0f to 10f | 2.4f |
AutoAnimatedNear | true or false | false |
Manipulate 3D Shield by script
Example:
// Drag and Drop your Camera GameObject
// with the 3D Shield component
// to your current script on the CamFX_3D_Shield field
public CameraFilterPack_3D_Shield CamFX_3D_Shield;
void Update()
{
CamFX_3D_Shield._FixDistance = 1.5f;
}