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
1
Question by heilong 1 · Nov 26, 2009 at 02:04 PM · shaderlightinggraphicslightmapthird-party

cast shadow - export lightmap from 3ds max to unity

I want to export my shadow map. My mesh have 2 channels : 1) diffuse 2) shadow map

So I guess my question is : how unity handle channels ? Where can I found in the unity UI if he handle my two channels ?

Thx ?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by duck · Nov 26, 2009 at 02:38 PM

In my somewhat limited experience with this, I've found that - in max - your material has to have a texture assigned to each channel when exporting, even though the FBX exporter only seems to export the texture from one channel.

It seems as though if you don't do this, the FBX exporter deems the 2nd channel UVs to be irrelevant, and doesn't include them in the export.

Next, once you've successfully got the models into Unity with both UV coord layers intact, you need to use a shader which supports mapping the lightmap textures to the 2nd layer of UVs. There's a family of "Lightmapped" shaders built in to unity, so select whichever best suits your requirements:

http://unity3d.com/support/documentation/Components/shader-LightmapFamily.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 sathya · Aug 07, 2012 at 10:38 AM

3D max exports all the UV channels u created with FBX. but unity has its own standards. It takes first UV Channel for texturing and second UV Channel for Lightmapping. Inside unity select the imported mesh and check the inspector, there you will find generate Lightmap UVs. if u select it unity well override the second UV if u have created one in 3d Max. so if you feel lazy to unwrap the uvs in 3D Max unity does pretty decent job unwrapping the mesh for lightmapping. One more tip: If you are unwrapping the lightmap UV inside 3D Max make sure none of the UV faces are overlapping.And lesser the UV islands more neat your lightmap looks.

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

1 Person is following this question.

avatar image

Related Questions

Light mapping does not map some of my objects 1 Answer

How can I prevent lights overlapping in intensity? 1 Answer

what does LightingLambert_DirLightmap()? 0 Answers

Beast Lightmapped object can't be lit by realtime lights? 1 Answer

Rendering Particle Systems to Command Buffer 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