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
0
Question by loxagos_snake · May 30, 2017 at 07:27 PM · blendertexturesbakingnormalmapmodel importing

Confused by Blender to Unity workflow regarding textures

Hello guys. I'm fairly new to the creation of materials in Blender, although I can make decent models. While I've been searching Google for hours on end, I still haven't found a satisfactory explanation about this. I'll try to explain my problem as simply as I can. Keep in mind that I'm a self-educated modeler, so I might be missing on a lot of terminology, even though I have a rough understanding of the whole process.

So, I've sculpted a nice rock model in Blender. I find a suitable texture for it, I unwrap my model and begin editing the material in node editor. When I'm done, I'm aware that I can only export the mesh itself to Unity which won't contain the material and texture information. I'm also aware of baking, but this is where the confusion begins, since I honestly don't know what to bake. My understanding is that when the final edited texture is finished, I can bake what I see on a new texture which also has the UV map information on it, so when I supposedly import the model in Unity and put my texture on it, it will automatically take the combined texture. But:

  1. Unity's standard shader contains a field for a normal map and an albedo map. Do I bake all that information on a single image in Blender and drag it onto Albedo, or should I make a separate normal map if I want my model to contain bump information in Unity?

  2. If I use the combined baking in Blender, I also get pre-calculated shading from Blender's light source. I know i can just delete it, but then I end up with a dark texture.

My end, rough question would be: how do I make my model, create a texture for it that I like, and make it respond to light in Unity, also containing bumps, displacements etc.?

Thank you very much, and excuse my ignorance!

Comment
Add comment · Show 1
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 bobisgod234 · Jun 01, 2017 at 03:26 AM 0
Share

If you are using Cycles, there is a nice shader node available online that is designed to closely mirror Unity's standard shader. If you stick to using that, you can bake all the inputs to that shader to a texture by connecting it to an emissive shader, and then baking only emission.

I find this is a nice workflow to produce reasonably sophisticated materials in blender (that use normal maps, smoothness/metallic, AO, emission etc), and have them work in Unity.

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by termway · May 31, 2017 at 04:34 PM

If you want to use Unity rendering, you need a Unity mindset and you need to consider Blender as an helping tool. Namely ask you the question in how you do a particular task/render in Unity, then ask you how Blender can help you with that task. For example you don't lightmap your object on Blender, you create an additional uv channel with Blender and then Unity will perform itself the lightmap and bake the texture using this uv channel.

  1. You should bake all yours textures separately (normal map, height map, ...). Standard shader will then combine all those textures to perform the rendering according to your scene configuration (light, reflection, fog, ...).

  2. If you want to bake shadow information, you should use Unity lightmapping to use Unity light source. Dark texture is often a symptom of material/scene misconfiguration.

You should check this documentation page for more information about material parameters like texture format supported by Unity : https://docs.unity3d.com/Manual/StandardShaderMaterialParameters.html

Here an example of simplified workflow between Unity and Blender On blender :

  • Create the mesh geometry

  • Create your uv mapping according to your texture (or the other way around)

  • Optionally bake additional map (normal map, ...)

On Unity :

  • Configure scene parameters (light source, environment lighting, fog, ...)

  • Configure the material (Match the corresponding baked texture, tuning shader parameters)

What you do not want is wasting time tweaking parameters on your modelization software (Blender) which cannot be used by your target rendering software (Unity).

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

6 People are following this question.

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

Related Questions

How can I add all maps from CrazyBump in Unity? 1 Answer

What images do I have to bake in blender? 0 Answers

Importing Blender model with multiple empty material indices 1 Answer

A few modeling questions 1 Answer

Unity 5 bake normal map into lightmap 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