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