Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by jamespantz · Sep 10, 2014 at 08:46 PM · optimizationspherejagged

Why does this sphere have hard edges?

Just finished the roll-a-ball project. I couldn't help but notice that even with anti-aliasing on max, the objects and the shadows (especially the shadows) seem to have harsh, jagged edges. When I look closer, the edges appear almost pixelated. Could this be a resolution issue? Or could the jagged edges on the objects be from the fill light's shadow, given that the shadows seem especially jagged?

alt text

Also, for some reason, when I look at the sphere top down, it appears more like some type of polygon than a circle. Is this an issue, or just something built into the default sphere model?

alt text

screen shot 2014-09-10 at 2.57.18 pm.png (44.1 kB)
screen shot 2014-09-10 at 2.53.38 pm.png (46.0 kB)
Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by VesuvianPrime · Sep 10, 2014 at 09:55 PM

I'm not sure why the geometry is getting aliasing, I figure something must be configured badly in the graphics settings. Anti-aliasing should work regardless of resolution.

The aliasing on the shadows is part of a different problem. This is related to the resolution of the shadow map: http://docs.unity3d.com/Manual/Shadows.html

Finally, Unity's default Sphere GameObject is made of a Mesh that is rendered via a MeshRenderer. Meshes are made up of triangles, and this is why the sphere appears to have corners. You would need to write your own renderer to draw perfect spheres.

Alternatively, you could consider implementing a LOD system to try and improve the quality of the sphere at closer distances: http://en.wikipedia.org/wiki/Level_of_detail

Comment
Add comment · Show 2 · 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 jamespantz · Sep 12, 2014 at 07:19 PM 0
Share

I'd be surprised if there's something misconfigured in the graphics settings, since I've done little more than follow the video tutorials step-by-step. But that totally makes sense about the sphere and the shadow mapping issue. Thank you!!

avatar image jamespantz · Sep 12, 2014 at 07:20 PM 0
Share

Also, I'm using the free version of Unity, not Pro.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

What kind of optimization does Unity have when rendering a sphere? 0 Answers

having over 100.000 cubes in one scene 0 Answers

How do I get my game to run faster? 4 Answers

Cleaner scripting 0 Answers

Making a GetComponent array 1 Answer


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