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 Paul Graystone · Mar 25, 2013 at 04:29 PM · lightinglightmapmovingbake

Is Lightmapping possible, if object and light are moving equally (for example interior light of a car)?

Lightmapping is used for static objects like houses or lanterns :). If objects are moving one should not bake them into a lightmap. But is this right, if an object is moving and its light is moving equally (parent-child-relation). Imagine for example the interior lighting of a moving car.

Is it possible/ useful/ performance optimising to bake such lights? Or is it not possible to bake any lights that are moving?

Thank you for your help.

Here is an example image of a real car to explain what I mean.

alt text

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by vagos21 · Mar 25, 2013 at 06:05 PM

baking lights is like setting a texture to a mesh, and from your perspective since that light is completely static compared to the car, yes you can bake it. but what you can also do if you want some realistic lighting, is to bake your vertex colors in your mesh and use them in a shader to create some nice shades, if that's what you're after. i see your car is quite high-poly on interior, so i think vertex colors would work great on this case, would even look better than lightmapping, and you could still be doing realtime reflections on the shiny dashboard and so on :)

Comment
Add comment · Show 2 · 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 Paul Graystone · Mar 25, 2013 at 07:07 PM 0
Share

Thank you vagos21. The image above is just a random example image to show what I mean.

@topic: Your answer clarifies lightmapping and I do now know what it means and that I am able to use it. One additional question: What happens, if the light will be switched off? Will the shadows remain?

@ vertex colors: What kind of shader do you use in that case?

avatar image vagos21 · Jun 23, 2013 at 07:17 PM 0
Share

are you using Unity 3.5 or 4? for Unity 3.5 i used the Strumpy shader editor http://forum.unity3d.com/threads/56180-Strumpy-Shader-Editor-Now-Open-Source to easily create your own shaders in the blink of an eye with any textures and properties you like. Unfortunately i have unity4 now and the shaders are broken for this version so i can't make one for you... but i can help you if you want more details. Can you export your mesh from your 3D package containing baked vertex colors from Ambient occlusion?

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

11 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

Related Questions

Light Maps, Progresive LightMapper, Lighitng, Baking... ¿? How to do it correctly? 0 Answers

How to bake emissive objects into lightmap? 1 Answer

Baked light map for level appears to be dirty 1 Answer

bake error 1 Answer

what does LightingLambert_DirLightmap()? 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