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 infinitypbr · Feb 17, 2014 at 03:47 AM · lightinglightmappingbeastlightmaps

Lightmapping AND real time shadows/lights?

Hello,

I've read the manual. Many times. This is problem I keep coming back to, trying to figure out, then delaying. I need to stop delaying.

I'd like to bake my light maps. For quality and for speed.

However, I'd also like to have some dynamic lights that change or move for puzzles, and I'd like my player to have a torch that will light up dark areas, and have light on fireball spells etc, which also light up dark areas as they fly.

I have not figured out how to achieve this.

I can bake a scene and it looks great, but then I can't get any real time shadows or lighting.

I can not bake a scene and get all the real time shadows and lighting I want, but the quality of the scenery is lacking.

Again, I have read the manual, and I suppose I just don't understand any of it -- any of the different types of rendering, for instance.

I was hoping someone could either explain it in depth (And differently than the manuals) or simply just say, "Do This".

Thanks!!

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

Answer by Ed unity · Feb 19, 2014 at 06:37 PM

Assuming that you read this page here. You will find that you are able to use dynamic lighting as well as light maps to light your scene. All of the objects in the scene that are dynamic will require real time lighting. If you want to have dynamic lights, even the static objects will still need to be lit by these dynamic lights. Objects like your fireball will have point light components that will be dynamic. Same as with the torch. You can bake the light maps and still have these lights effect the static objects at runtime. This will potentially give you the look that you want with the speed to go with it as less lighting calculations will be done.

The lighting will take some editing to get it to look right, but changing the render settings or graphics quality may help to make the lighting and shadows smoother. Typically you want to edit the light values and shadow properties in order to get the effects that you want though.

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 infinitypbr · Feb 20, 2014 at 12:58 AM 0
Share

I have looked at that. I've made progress, and maybe figured it out but I'm not quite sure. I plan on asking Unity ppl at GDC in a few weeks.

However, it looks like when I light map my scene with directional light it maps the shadows only on the buildings, and does the light part live. $$anonymous$$aybe that's intentional.

Also one of my big problems that I fixed was that the camera was set to forward lighting, so changing that helped get the shadows I wanted.

Currently, unfortunately, shadows are baked but live as well, so trees cast both types of shadow, but I was hoping to get them to be baked only.

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

19 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

Related Questions

Lightmapping - Exclude object 1 Answer

What method exactly can be used to achieve lighting like this? (2d platformer) 0 Answers

Beast Lightmapping Artifacts 2 Answers

Lightmapping - Lightmap Resolution 1 Answer

Lightmapping doesn't work 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