• 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
2
Question by Zitoox · Oct 13, 2016 at 03:19 AM · lighting

What is the difference between Baked and Realtime Light?

Quick question:

What is the difference between a baked and a real time light??

I've noticed that it really doesn't change that much in the game, except that depending on the light, it takes a hell of a time to bake it.

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
2
Best Answer

Answer by IgorAherne · Oct 13, 2016 at 02:04 PM

Baked light = heavy on RAM + HDD

Realtime light, espessially Global Illumination = heavy on GPU + (sometimes on CPU).

Baked light allows us to "wrap" objects in special "Lightmap" textures. Looks good until we decide to move one of such game objects. Because lightmaps are just textures, this immediately looks wrong.

The entire process of "light bake" would have to be started over again to remove this incorrect appearance, which would make us question, why not to dump light maps for good and use Real Time Global Illumination?

Well, it can be very expensive, and the player would need at least GTX460+ series graphics card (not uncommon but still), and GTX960+ for good-looking, beautiful realtime light. Or equivallent ATI of course.

Light maps on the other hand, just require us (devs) to compute all lighting before hand, storing it in Lightmap textures. Then, when the player enjoys the game, her computer would only have to draw several extra textures (which is a LOT quicker than computing real time global illumination)

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 Zitoox · Oct 13, 2016 at 03:33 PM 1
Share

Nice explanation, thanks! While testing my game on a laptop that i have, it's FPS were considerable low in night scenes while it wasn't in day scenes, and now i know what was causing that =)

avatar image
1

Answer by JesseFox · Oct 13, 2016 at 04:54 AM

hopefully this helps.

https://unity3d.com/learn/tutorials/topics/graphics/unity-5-lighting-and-rendering

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
1

Answer by Naphier · Oct 13, 2016 at 07:20 AM

Baked is pre-computed and saves the engine a ton of processing power when dealing with shadows in a scene. So if you have a static light source and static objects (i.e. they don't move), then use baking. But turn off auto in the Lighting settings, it's just a pain.

Realtime is, exactly what it sounds like, lighting calculated in real time. It's quite expensive and if your game isn't all moving objects then you should learn how to bake and use light probes and reflection probes.

The link to the Unity tutorial that JesseFox provided will give you fuller details and show you how to use 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

69 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Use Render Setting's ambient light in shader 0 Answers

Linear Lighting has LOD?> 0 Answers

How to make a lot of light blinking ? 2 Answers

Passing arrays of variable length to shader. 0 Answers

Creating this light effect 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