Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
2
Question by SynchroAR · Dec 15, 2016 at 04:44 PM · shadermaterialscaleissuescaledown

Scaling a Gameobject down alot makes the material black

Hi Unity forum!

I have really big game-object with mesh (2 km), and if i downsize it by 0.00001, almost every piece turns black.

So, I test by creating a primitive cube from Unity editor, and downsized it a lot, and it also turns black when it reaches to a scale around 0.00001.

Is there way to scale something down smaller than 0.00001, and still keep the correct material?

Here goes screenshots. The first image shows the correct color, and scale is downsized to 0.00007. The second image shows how it turns black when it reaches 0.00006.

alt text alt text

Thanks for reading!

material-before.jpg (154.9 kB)
material-after.jpg (147.6 kB)
Comment
Add comment · Show 4
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 Pangamini · Dec 15, 2016 at 04:45 PM 0
Share

Shadow resolution? $$anonymous$$ip-maps?

avatar image SynchroAR Pangamini · Dec 15, 2016 at 05:00 PM 0
Share

Quality setting is fastest with shadow off. I am using default unity material with one directional light. I am not familiar with mip-map. I should check it out now! @Panga$$anonymous$$i added picutres!

avatar image Pangamini SynchroAR · Dec 15, 2016 at 05:25 PM 0
Share

It could be anything, floating point imprecisions anywhere in the engine... is there some special reason why are you doing this?

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Pengocat · Dec 15, 2016 at 05:55 PM

Try changing the scale factor in the mesh import settings, and if that does not work you should change the scale in the source file. Like pangamini mentions the Shader probably can't handle the tiny scale due to floating point precision.

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
1

Answer by Arvin6 · Sep 12, 2017 at 07:09 AM

This is because of the Messy alpha problem. You should not change the objects transform to a great extent, you should instead change the scale factor during import. Read: http://answers.unity3d.com/questions/10302/messy-alpha-problem-white-around-edges.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 nanditho · Apr 13, 2019 at 01:06 PM

Hello guys, i Have big assets and i want to fit to my project by scale it down when i imported the assets.

The question is, will i lost quality when i scale down the scale factor? Thanks

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

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

9 People are following this question.

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

Related Questions

Material doesn't have a color property '_Color' 4 Answers

Unity 3D - Material or Shader issue 1 Answer

HDRP shader graph - Surface options missing "Material Type" in inspector 0 Answers

How do I find different materials on an object? 0 Answers

Semitransparent shader not visible in front of objects 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