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 Luca_Leonardi · Nov 04, 2014 at 12:11 AM · materialblenderexport

Blender to Unity Custom Materials Export

So this is the question: i'm trying to make single rock bricks in blender to export them to unity and use as assets, so i went into blender, made the object, sculpting and all.. using cycles rendering and a node editor to create a custome rock + moss materiale with a mix shader putting togheter diffuse and glossy + a bump vector, managing to get a very nice look out of it.

And here's the problem.

It doesn't seem to be possible to export the custom material to blender.

I can export the object i made, i can export the single texture file... but i just cannot find the way of exporting my custom material, thus making the entire process of creating the object itself... useless, since i can't use it with the material i made for it in unity.

So putting it all togheter once again.

Exporting the object doesn't export the material blender associates to the object, material is made up of two different texture and is made with a node editor personally modifying all the aspects of it, so even if i try to make a mixed shader material directly in unity is almost impossible to get the same effect i had in blender thanks to rgb adjusting and stuff, and i can't find a way to export the material.

Anyone knows a way around this?

Thanks a lot

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

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Owen-Reynolds · Nov 04, 2014 at 04:19 AM

It's also somewhat of a "don't do that" situation. Movies vs. games are different worlds.

Blender, like any other modeling program, is mostly for rendering still frames or movies. For these, you can go nuts on complex CPU shaders, cloth deformation, raytracing, multi-constraint IK solvers ... . Unity could/can duplicate lots of these, but you'd end up just cutting them to get your frame rate back up. You're sort of abusing blender to make game assets (which is fine, as long as you know.)

Even making models is divided into lo/high poly artists. High-poly "movie" modelers seem more common, and it takes them a while to learn the low-poly tricks needed for games (and to even consider using a texture smaller than 4096x4096.)

From a game-making standpoint, you'd like to use a diffuse shader on trivial things like bricks. Specular if you have to. Bump-spec, multi-material only if the entire game is about stacking bricks.

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 AlwaysSunny · Nov 04, 2014 at 12:06 AM

Unless there's some really, really amazing Blender or Unity plugin out there that I'm not aware of: No. There is no "easy" way to duplicate a Blender shader in Unity. You'll have to code it yourself. (Bummer, I know. Blender's shader editor is amazing)

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 AlwaysSunny · Nov 04, 2014 at 12:12 AM 0
Share

Also, there are node-based shader editors for Unity. I believe there's still a free one maintained by the community: http://forum.unity3d.com/threads/strumpy-shader-editor-now-open-source.56180/

avatar image
0

Answer by Pk125 · Dec 04, 2015 at 04:00 PM

Getting the material from Blender to Unity is possible. All you need to do is bake the material in Blender (and if you don't know how to do that, there are plenty of YouTube videos to help) and save that image to where you know that it is. Then you have to right click in the assets tab in Unity and select "Import Asset", import that baked image. Then drag that image from the assets tab into the object on the right. It then should apply it!

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it possible to import from unity into blender 1 Answer

Exporting object from Blender to Unity 3 Answers

Shader or material? 1 Answer

animation blender to unity problem 0 Answers

Texturing blender models in Unity 2 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