1
Shader Fisheye Equirectangular Mirror
Aiden edited this page 2026-05-08 19:03:26 +10:00

Fisheye Equirectangular Mirror

Field Value
Shader ID fisheye-equirectangular-mirror
Category Projection
Package shaders/fisheye-equirectangular-mirror/

Fisheye Equirectangular Mirror unwraps a single width-filled 16:9 fisheye source into a 360x180 equirectangular map. The rear hemisphere is mirrored into the same fisheye source.

Controls

Control Type Default What It Does
Lens FOV float 190 Physical fisheye field of view.
Optical Center vec2 [0.5, 0.5] Fisheye center in normalized source coordinates.
Fisheye Radius vec2 [0.5, 0.8889] X/Y radius for cropped or squeezed sources.
Yaw float 0 Horizontal rotation.
Pitch float 0 Vertical rotation.
Roll float 0 Roll around the viewing axis.
Fisheye Model enum Equidistant Physical lens projection model.
Edge Fill float 0.06 Extends edge samples to cover small missing areas.
Edge Blur float 0.018 Softens edge fill.
Outside Color color Black Fill outside valid projection.

Tips

  • Calibrate center and radius before adjusting yaw, pitch, or roll.
  • Edge Fill is for small source edge gaps, not for major misalignment.