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 Ilias · Mar 16, 2011 at 04:45 PM · playershadowmoving

Give the player shadow

Hi everyone

I became to a problem with unity 3.3 pro.

I tried to give my player a shadow on the terrain. but when i'm using lightmapping. There is nothing happening . Is there maybe another suggestion to bake a shadow? It needs to move with the player if the player is moving?

Someone can help me?

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 testure · Jun 27, 2011 at 07:30 PM

If you're using deferred rendering, you can only have shadows on directional lights. Use forward rendering if you want shadows on spots and points.

Comment
Add comment · Show 7 · 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 Ilias · Jun 27, 2011 at 07:51 PM 0
Share

How can i use forward rendering?

avatar image testure · Jun 27, 2011 at 08:03 PM 0
Share

you can either do it on a per-camera basis, or a per-project basis. if you want to do it for the camera, just select the camera and in the inspector there's a dropdown called 'rendering method' or something like that.

avatar image Ilias · Jun 27, 2011 at 09:05 PM 0
Share

Now just one question about it.

I'm baked the lightningmap and it's working, but it said; UV set on $$anonymous$$esh1 is incorrect. Lightmapper needs UVs inside (0,1)x(0,1) space. UnityEditor.DockArea:OnGUI()

and something else, I'm using Bumped Specular for my objects, but after baking the lightningmaps. The object is diffuse and not bumped specular anymore. You know why? $$anonymous$$aybe you can help me?

avatar image testure · Jun 27, 2011 at 09:09 PM 0
Share

as of 3.3.04f, the lightmapper doesn't handle specular and diffuse (that's co$$anonymous$$g in either 3.4 or 3.5, i don't remember which). The error you're getting is because you only have one UV set, you need a second set of uv's for lightmapping. Go to your original FBX in the project list, and look at the FBX importer in the inspector- you should see a checkbox for 'generate lightmapping uvs'. check that box, wait a while because it takes some time, then try again.

avatar image Ilias · Jun 27, 2011 at 09:55 PM 0
Share

It was checked, but it gives also the same text

Show more comments

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

2 People are following this question.

avatar image avatar image

Related Questions

Pathfinding players? 1 Answer

UNET moving the players via the server. 1 Answer

Player on moving object doesn't follow it Unity 5 0 Answers

How do you stop player from moving when it dies? 1 Answer

Moving an object in 3D Space ~ Complexity 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