Lens

Buy Now

About

This lens post process shader has been created in Unreal Engine. The shader is interactive through exposed material parameters, which allow the developer to modify various properties.

Lens parameters:

  • Lens Stretch & Offset: Controls the UV stretch and offset. RG = Stretch, BA = Offset. (Use a negative stretch value to flip the UVs.)
  • Lens Rotation: Controls the rotation angle and anchor point position. R = Angle, G = Anchor point U axis, B = Anchor point V axis. (Use degrees for rotation angle)
  • Background Color: Controls the background color.
  • Radius: Controls the lens radius.
  • Hardness: Controls the lens hardness.
  • Warp Intensity: Controls the lens warp intensity. Used in conjunction with the hardness parameter to limit the warp effect.