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 /
  • Help Room /
avatar image
0
Question by leeprobert · Dec 06, 2016 at 11:41 AM · blenderfbxfbximporter

Import high-res sphere from Blender into Unity and add Material

I have a Stereo Skybox demo project for VR and I'm using two spheres (left & right eye). I have a material with the 360 pano images in it, and also a shader that culls the outer mapping and allows me to look around the inside of the spheres. This all works great; but the sphere geometry is low-res and is causing distortion. To try and resolve this, I imported a sphere from Blender as an FBX, and tried to add my material and shader from Unity to this new geometry. For some reason, the material does not preview, and is not rendering at all. The structure of the objects looks to be identical. The only issue is that one is the FBX sphere, and the other is a Unity primitive.

What am I doing wrong?

Comment
Add comment · Show 5
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 AlwaysSunny · Dec 06, 2016 at 11:48 AM 0
Share

Unless they're doing something nontraditional with projection in their shader, it sounds like you just didn't uv-unwrap your blender sphere. If that's the case, unfortunately, this is a pretty deep topic. There are multiple ways to uv-unwrap a sphere, or to project skyboxes. It really depends on what's going on under the hood of their approach.

If possible, open their low-poly sphere in blender, subdivide, smooth, repeat as desired. This should preserve their original unwrapping metadata and add resolution. If for some reason this file can't be opened with Blender, I'd email the document author to request a high-quality version.

avatar image leeprobert AlwaysSunny · Dec 06, 2016 at 12:38 PM 0
Share

The original is just a standard Unity sphere primitive. I created a UV Sphere in Blender and exported it as an FBX. It imports into Unity with the material, mesh etc. Replacing the material with my own doesn't have the same effect as it does with the Unity primitive.

avatar image AlwaysSunny leeprobert · Dec 06, 2016 at 12:47 PM 0
Share

Hey, sorry I missed that. Definitely sounds like a uv-unwrapping issue. I just spent a $$anonymous$$ute trying to discover how Unity's primitive sphere is unwrapped so you can duplicate the process, but had no luck. That's what you need to know, though.

There are a couple of common techniques and I'd be shocked if Unity's primitive didn't use one of them. You can help yourself test this by applying a textured material to a Unity sphere and watching how it stretches and squashes. Google "uv map test" to get an appropriate rainbow grid image. Then in your search for uv unwrapping methods for spheres, you'll recognize the distortion and know you've found the right method to duplicate in Blender.

I'll spend another $$anonymous$$ute looking - I'm surprised the answer isn't easier to find myself.

Have a look at Farfarer's answer here, it's relevant.

BETTER YET try googling for "uv unwrapped sphere" to see if you can find a high-poly model available for free. Chances are one of them you find will work just fine.

avatar image leeprobert · Dec 06, 2016 at 01:05 PM 0
Share

I found a High-res Sphere here: http://www.ignishot.com/phpBB3/viewtopic.php?t=3094 I imported the FBX and used the geometry straight; it worked. I'm not sure what this chap did in Blender when he exported the Sphere. I'd still love to know for the future.

avatar image AlwaysSunny leeprobert · Dec 06, 2016 at 01:14 PM 0
Share

Great! Glad that worked out. Not sure why I always recommend the hard road. (Analyze that, Sigmund!)
It $$anonymous$$IGHT be a simple "sphere projection" unwrap. In edit mode, press U to show the unwrap menu. It'll have several options. Never came up for me personally, but it's possible the "sphere projection" option creates the kind of mapping Unity shaders expect with one click. Otherwise, it's collegiate-math complicated.

0 Replies

· Add your reply
  • Sort: 

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

91 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

Related Questions

Pivot changes when fbx is imported. 1 Answer

FBX character imported from Blender missing parts 1 Answer

NaN errors when importing .fbx files made with Blender into Unity 0 Answers

FBX Exporter is not responding 0 Answers

Updating fbx - Best practices 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