Firstborn/Library/PackageCache/com.unity.postprocessing@3.2.2/Documentation~/Lens-Distortion.md
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05:00

1.1 KiB

Lens Distortion

The Lens Distortion effect simulates distortion caused by the shape of a real-world camera lens. You can adjust the intensity of this effect between barrel distortion and pincushion distortion.

Properties

Property Function
Intensity Set the value for the total distortion amount.
X Multiplier Set the Intensity multiplier on X axis. Set it to 0 to disable distortion on this axis.
Y Multiplier Set the Intensity multiplier on Y axis. Set it to 0 to disable distortion on this axis.
Center X Set the Distortion center point (X axis).
Center Y Set the Distortion center point (Y axis).
Scale Set the value for global screen scaling.

Known issues and limitations

  • Lens distortion doesn't support AR/VR.

Requirements

  • Shader Model 3