• 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 maxmyth · Aug 26, 2011 at 11:43 AM · lightshadowrender3.4

Directional and Spot Light Shadows not working as expected

PROBLEM

I am having problems with Directional and Spot light cast shadows.

With Directional lighting I am getting a strange over arching shadow that has no relation to the cube in my scene. Below is the first picture of this weird effect. Where is this huge circular shadow coming from?

alt text

And another screen shot. Here I have panned around in the Scene View to show that this shadow can not be generated by the cube.

alt text

Now with Spot Lights I am getting no shadows cast at all. I try with Hard and Soft (pictured) shadows turned on and nothing. Here is the screen shot to show this:

alt text


It seems that Point Lights are working fine.

alt text

Another thing, in Edit > Project Settings > Player > Other Settings > Rendering Path I have set the Rendering Path to Deferred. See below:

alt text

Also I want to mention that I am running Unity 3.4 Pro and my computer is a Toshiba Satellite p305 s8904 with an Intel GMA 4500MHD graphics card. I assume it is not one of the supported graphics cards mentioned in the Shadows in Unity page under Hardware support for shadows in the Unity 3D manual here http://unity3d.com/support/documentation/Manual/Shadows.html Specifically the page says

Intel GMA X3000 (965) and up.


QUESTIONS

Could my supposedly unsupported graphics card be causing this problem?

If so is there a work around?

Comment
Add comment · Show 2
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 Waz · Aug 26, 2011 at 12:29 PM 0
Share

You should confirm by testing the same scene on other hardware. Regardless though, I've found that any hardware that can't support shadows generally isn't fast enough to do such extra render passes anyway and so you'd have to turn them off and use alternatives anyway.

Sucks if your development machine can't show them though!

avatar image maxmyth · Aug 26, 2011 at 12:38 PM 0
Share

What alternatives to creating shadows do you suggest? I know it sucks :( but on the upside I will just focus on scripting and modeling until I get a better graphics card.

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Waz · Aug 26, 2011 at 12:51 PM

Workarounds are needed for players on low-end hardware anyway: try Lighmapping - it often looks more realistic than dynamic lighting (since it includes ambient occlusion), works on more cards and is cheaper to render. Blob shadows, or even just subtle SSAO shading also look good and cost little.

On my current project, I've spent the last month deliberately developing in VertexLit and my "Fastest" quality to ensure players on low-end hardware get the best experience, and it's been a worthwhile exercise, so don't assume you're losing out here: it's good to cater for the low end.

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 maxmyth · Aug 26, 2011 at 02:43 PM 0
Share

Yes I agree that low end hardware users need to be addressed Warwick. Lots to consider. Thanks for the suggestions. Interesting technique to develop in Vertex Lit rendering mode. I am most likely going to go the same route. Are you going to give the option for users/players of your app/game to improve the quality of the rendering (deferred lighting, forward rendering)?

avatar image Waz · Aug 26, 2011 at 09:44 PM 0
Share

I do deferred now (with FXAA filter), but it doesn't take much effort to keep that looking good.

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

render only shadow on the plane, everything else to be transparent? 0 Answers

Cast two shadow from object in different layer on same plane 2 Answers

Unity 2019.3 Some Objects Don't Cast Shadow In Baked Lighting, But Do In realtime,Unity 2019.3 Some Objects don't cast shadow in baked lights 0 Answers

Point lights and spot lights not baking in my scene 6 Answers

render the game object light 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges