Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 sankalp22 · Jan 08, 2014 at 07:44 AM · shadowdirectional lightrealtime-shadowsdirectional lightmap

Realtime Shadow Problem On lightmapped Object

Hello everyone, I have a very strange problem. I baked Directional Lightmap and on realtime Shadow for my player. It works fine in unity and realtime Shadow clearly visible on both lightmapped and non-lightmapped Objects, but when i rum my project on IOS device realtime shadow not coming on lightmapped object. It coming only on non-lightmapped objects. I am using forward rendering path. Even i enable render mode important and real time only options for directional light. I am also using other directional lights for weather but i marked them not important. So please help me. Thanks in advance.

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 Louis-N-D · Feb 26, 2015 at 01:47 PM 0
Share

I'm having the same problem. Boosting the shadow strength helps make the shadows show up on iOS but I need them to be nearly black in the editor to have them show up ever so faintly on iOS! Hardly WYSIWYG! Also, cranking the strength up creates a huge disparage between the look of the shadows over lightmaps and over other realtime lit objects.

$$anonymous$$y light set up is even simpler too. 2 directional lights only. 1 that is lightmap only that doesn't cast shadows and simply gives the lighting some subtle directionality and one pointing straight down which casts realtime shadows and affects all objects. I've got some ambient too.

1 Reply

· Add your reply
  • Sort: 
avatar image
-1

Answer by Jessespike · Feb 26, 2015 at 04:23 PM

Lightmapped objects will ignore real-time shadows. This is default behavior from Unity's mobile shaders. Not sure if Unity provides a standard shader that allows you to do what you're asking. Might have to edit or write you're own, which would be adding shadow calculations along with lightmap.

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 Louis-N-D · Feb 26, 2015 at 04:44 PM 0
Share

Oh, no it works, it's just not consistent. So the light mapped surfaces do accept the real time shadows, the issue is that they are really dark in the editor and extremely faint on iOS.

avatar image Jessespike · Feb 26, 2015 at 06:49 PM 0
Share

hmmm, you're right. I don't know what I was thinking.

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

20 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

Related Questions

random flickering on terrain with directional light shadowing on 0 Answers

Shadow not showing up inside closed room 3 Answers

Directional light shadow not displaying 1 Answer

Directional Light creates wierd shadow? 2 Answers

No realtime shadows in webplayer build? 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