Firstborn/Library/PackageCache/com.unity.postprocessing@3.2.2/Documentation~/Lens-Distortion.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# 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.
![](images/lensdistortion.png)
### 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