Skip to content

Fish-eye shader: distortion in only x or y direction? #3

Description

@ArcadeHall

I have a question about the fish-eye shader: is it possible to add a barrel distortion which only works in x or y direction of the image? I have looked at the formulas in the fish-eye shader, but that's over my head. I have a webcam which has a fish-eye distortion which can be corrected by a negative power in the fish-eye shader. But still the image looks a bit like this: )==(. I only need some correction in the x direction, but not y, since the lines are straight vertically. Can you give me a formula for this perhaps?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions