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 pietwelve2 · Jun 07, 2016 at 04:30 AM · displaylightmaps

How to display realtime lighting (and not the baked one) in scene view

Hi, I want to adjust lights in my scene that have been previously baked (GI) .
If I "clear baked data" I can see the realtime lighting again, and then adjust my lights. But what if I doesn't want to lose the previously baked lightmaps ? In other words how to display realtime lighting (and not the baked one) in scene view without loosing the last bake ? Thanks

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 Eudaimonium · Jun 07, 2016 at 10:11 AM 0
Share

You can temporarily switch the light you want to move from Baked to Realtime, adjust it, and switch it back to Baked.

To my knowledge there is no way to revert to realtime lighting for preview if you wish to keep your lightmaps.

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by ColdJackle · Jun 07, 2016 at 11:31 AM

Hello there,

you can check the "Auto"-Checkbox in the Lighting Options (next to the Build Button). This way changes to static geomitry will trigger a rebuild of the lightmap. I played with that feature a little and it seems that Unity can identify the changes and doesn't rebuild the whole lightmap. However I can not asure that. Just try.

If your changes don't apply to the scene, use the trick provided by 'Eudaimonium'.

Info link

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 Luckymouse · Nov 08, 2017 at 09:55 PM 0
Share

You did not answer his question. He doesn't want to re-bake!

By the way, I'm looking for answer that exactly the same as the question.

avatar image ColdJackle Luckymouse · Nov 08, 2017 at 10:21 PM 0
Share

I seem to have misread the question, damnit...However, I have no device to test this right now, but does turning the GI off while adjusting cause your lightmap to rebuild? And setting the Auto-Switch doesn't prevent that?

avatar image
0

Answer by Luckymouse · Nov 08, 2017 at 11:49 PM

Check out this link below, it has a example project with resplacement shader in editor. It can switch the realtime lighting in scene view even your scene has been fully lightmap baked.

https://blogs.unity3d.com/2013/03/15/4-1-graphics-features/

Note: You need to edit the "LightingOnly" shader. add "nolightmap" in the first SubShader Line#15, such as this: #pragma surface surf Lambert addshadow nolightmap

alt text

alt text

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 Hertzfeld · May 03 at 01:23 PM

I know I'm necroing this hard, but in the lighting panel, where the 'Generate Lighting' button is — it's also a dropdown that will let you 'Clear Baked Data.'

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

7 People are following this question.

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

Related Questions

Model display errors,Model shows errors 0 Answers

how to keep unity lightmaps when using Graphics.DrawMesh ? 1 Answer

Dir Lightmap Performance VS Single Dir Light 0 Answers

How to import lightmapped objects from Blender. 0 Answers

Lightmaps not loading/working? 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