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 VivienS · Oct 05, 2010 at 02:10 PM · shadershadow

No real-time shadows after porting to Unity 3

Hello there!

We've encountered a strange problem after porting our project from Unity 2.6 Pro to 3 Pro: We can't seem to get the real-time shadows working again with practically all of the standard shaders.

The only shaders that do cast shadows are vertex lit and nature.

It (unfortunately) only concerns our main project and all scenes in it. A test scene with just a cube, a plane and a light does work in any other of our Unity 3 projects but this.

We have already tried the following solutions, without success

  • Checked all the light settings
  • Checked the camera settings
  • Checked the player settings (forward and deferred lighting)
  • Checked the quality settings
  • Changed the shaders
  • Tried importing working scenes and assets into the project
  • Tried it on different hardware

Any ideas? Because we are running out of them now ;-)

Is it possible that opening in Unity 3 did somehow damage the standard shaders? Or does it sound more like a project settings problem to you?

Thank you!

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

Answer by Mike 3 · Oct 05, 2010 at 03:05 PM

You'll need to set the project to use deferred rendering if you want point lights and spotlights to contribute shadows. In 3.0, forward rendering (the rendering technique used) only allows directional lights to cast shadows - and 3.0 is set to use forward rendering by default

Comment
Add comment · Show 5 · 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 VivienS · Oct 05, 2010 at 03:22 PM 0
Share

Hello $$anonymous$$ike! Thanks for the quick answer. I've tried changing the rendering path to deferred lighting both in the player and the camera settings, without any effect unfortunately. Is there any other place in Unity to set the rendering path other than these two?

avatar image Mike 3 · Oct 05, 2010 at 04:16 PM 0
Share

I don't think so no (and ugh, just noticed you mentioned you tried deferred lighting). Did you reimport the new versions of all the shaders you're using, especially the nature one?

avatar image VivienS · Oct 05, 2010 at 04:36 PM 0
Share

At the risk of sounding like a newbie ^^, but how do I re-import the default shaders like the diffuse, specular or the diffuse-fast? (most of the materials in the project are using just diffuse shaders)

avatar image VivienS · Oct 06, 2010 at 12:11 PM 0
Share

O$$anonymous$$, downloaded the standard shader package from the unity support page and imported it, and all of a sudden everything seems to work again. Thank you!

avatar image Mike 3 · Oct 06, 2010 at 01:42 PM 1
Share

Oops, I missed your question there - you'd have just needed to reimport standard and pro standard assets. Anyways, glad it's fixed for you

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

No one has followed this question yet.

Related Questions

Custom Mesh for Game - Edges of my meshs' tris keep appearing on flat surfaces 0 Answers

Combining a custom shader with a normal one 0 Answers

Having problems with unlit shaders casting shadows 0 Answers

Block/Obscure light without shadows 0 Answers

Will Unity 3 Indie have emmisive light shaders? 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