Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by DaiMangouDev · Mar 18, 2017 at 04:37 PM · cameraimage effectsdistortion

How to get rid of default camera distortion effect stretching objects at edge of camera?

This is a problem I find really problematic and it makes my objects look too strange.

In software like Maya LT there is no distortion whatsoever but there is distortion in unity. This means that it is a correctable problem.

Here are screenshots of distortion in unity and no distortion in Maya LT alt text alt text How can I correct this ?

distortion.png (108.6 kB)
nodistortion.png (85.4 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RobAnthem · Mar 18, 2017 at 09:34 PM 0
Share

$$anonymous$$inda appears like your camera FOV is greater than normal.

avatar image DaiMangouDev RobAnthem · Mar 18, 2017 at 10:49 PM 0
Share

I'm using the default FOV , I have not changed any camera settings

avatar image NoseKills · Mar 19, 2017 at 02:41 PM 1
Share

Are you sure $$anonymous$$aya's camera is a a perspective camera ( if you add a cube to the top corner of the view, can you see its bottom and side) ?

$$anonymous$$y knowledge of camera projection matrices isn't strong enough to argue strongly about this but I also can't imagine what kind of a perspective projection wouldn't have this problem... If it's perspective projection and has a wide FOV like in your screenshot, parts of the sphere that are closer to the camera will surely appear bigger and cause it to stretch.

Note that Unity uses vertical FOV, so the wider your view is, the more stretching will happen at the edges of the screen.

$$anonymous$$ake your FOV narrower and move the sphere closer to center on the x-axis and farther from camera, and you'll get the "same shot" with less stretching I'd say.

The wider the FOV, the closer to the cam the sphere has to be to appear a certain size. The closer the sphere has to be, the more "proportionally nearer" the "near" parts of the sphere will be to the cam. The more proportional distance differene, the more stretching...

9 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Goldiedog123 · Mar 18, 2017 at 09:48 PM

That's perfectly normal. Most games just have a smaller field of view than what your using. Because yours is so large its giving a "fish eye effect".

(Most games have a FOV of about 80 -70)

Hope I helped

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image DaiMangouDev · Mar 18, 2017 at 10:49 PM 0
Share

I was liking my game until i started looking around $$anonymous$$y FOV is the Default FOV. I haven't made changes to the camera at all

I'm sure that you will see the same exact thing if you replicate the scene.

As you can imagine, my characters in $$anonymous$$aya LT are designed to look one particular way ans when in Unity they are distorted the moment they are not in the center of the screen.

As a matter of fact I believe that the distortion happens at all times

avatar image DaiMangouDev · Mar 18, 2017 at 10:56 PM 0
Share

I would also like to add that this is not normal. It is just an widely accepted rendering problem.

Again, this is a default scene with a sphere in it at the 14,0,0 position.

This is abnormal behavior , the human eye doesn't distort out of focus object and this is a totally correctable issue , Autodesk corrects it in their tool

avatar image RobAnthem DaiMangouDev · Mar 18, 2017 at 10:59 PM 0
Share

You are right this isn't normal, and it's not "widely accepted" because this isn't an issue for others. Obviously something very specific is happening with either your $$anonymous$$aya exporting, or your Unity, however this is not a "common problem". I've personally never experienced this, and I use Blender for all my modeling. Have you tried adding a Unity3D sphere to your scene? Does it look the same? If not, this is directly related to your 3D model.

avatar image DaiMangouDev RobAnthem · Mar 18, 2017 at 11:11 PM 0
Share

The sphere in the scene is a unity sphere. I say it it widely accepted because very few developers ever discuss this problem.

It you tried it you would see the same effect

I didnt export the sphere to unity , Just made a sphere in $$anonymous$$aya for the purposed of taking the screenshot for comparison.

Either way it it stretching the heck out of my scene at the corners and sides . I can see the stretching clearly because my camera is set in the cockpit of a ship.

I picked up on the stretching quickly.

Show more comments
Show more comments
avatar image
0

Answer by flankechen · Apr 19, 2017 at 03:06 PM

I notice the same problem as well. this might not be a big problem for most games, but in my HMD(head mounted display) AR application, this would make the virtual object looks "not cool". because usually, the real camera is not distorted just like the unity camera usually. And human eye is not distored like unity camera as well.

I am looking for a way to customized the projection matrix and distortion, but not much founded. http://blog.drewmacqu.com/2015/02/projection-mapping-in-unity.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Max_Bol · Sep 21, 2018 at 04:53 PM

In case some people are ending up here for the same reason, there's currently a fix for that problem that came with Unity 2018. It's called "Physical Camera" (it's a checkbox in the Camera's Inspector menu). In my case, the reversed FishEye effect of the default camera could be countered by using a Physical Camera with a Focal Lenght of 20 and a Sensor Size of (36,24) and Lens Shift at 0.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Sep 21, 2018 at 11:09 PM 1
Share

No, this doesn't fix the issue at all. The Physical Camera just provides a different way to specify the same parameters. The only real difference i've noticed is that when you enable Physical Camera Unity uses a horizontal fov ins$$anonymous$$d of the normal vertical fov. Since most screens are usually wider than tall it simply results in a way smaller fov angle. The "normal" camera has a 60° vertical fov. With a 16:9 monitor you get a horizontal fov of about 72°. The greater the aspect ratio the greater the horizontal fov. If you set a focal length of 20 you roughly get a horizontal fov angle of 61° On a 16:9 screen that would result in a vertical fov of about 45°


Every perspective projection has some level of distortion (no matter if we have a real world camera or a virtual camera). This is a simple fact of the projection itself

avatar image
0

Answer by JFS265 · Aug 13, 2019 at 10:59 PM

I solved this by changing the camera field of view from 60 to 50, and then moving the camera back to compensate for the narrower field of view. This greatly reduces the distortion.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by IsDon · Aug 14, 2019 at 04:45 AM

The Projections and FSAA asset on the asset store gives some good options as well. I was trying to put a wide FOV up on a curved projected wall, and found the default fisheye effect put me off. This tool lets you shift the fisheye effect to minimise edge-of-screen distortion. Might help some people.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image BenLiyanage · Sep 08, 2020 at 02:04 AM 0
Share

Link for the asset?

avatar image IsDon · Sep 08, 2020 at 05:34 AM 0
Share

This seems to be it: projections SSAA asset

avatar image ModLunar IsDon · Sep 09, 2020 at 07:16 PM 0
Share

@IsDon That link is broken it seems.

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

103 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Ramp Offset with Button press 1 Answer

Fade/smooth out image effects? 0 Answers

Image Effect - Screen coordinates 1 Answer

Post-process image camera shaders OpenGL 3 (WiiU) 0 Answers

multi camera and bloom optimized(UI camera malfunction) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges