Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

No receiving shadow when probes are on

Discussion in 'General Graphics' started by barbe63, Sep 19, 2015.

  1. barbe63

    barbe63

    Joined:
    Oct 6, 2014
    Posts:
    35
    Hello.

    Im' having a very annoying issue here. My objects can't receive any shadows when lightprobes are on as you can see here:

    http://www.hostingpics.net/viewer.php?id=250104probes.jpg

    I am using forward rendering, legacy diffuse for the object and a simple non directional lightmap with a directional light set to mixed. Receive shadow is ticked.

    Please help me, why it is not working? Is it shader related?

    Thanks for any help.
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    It's possible there are currently bugs here - I have heard rumblings related to the diffuse legacy shader and also with lightmap/mixed modes.

    You haven't mentioned version of unity or platform target and you really should with discussions like this :) But please feel free to experiment with different shaders to see if that's the problem, and file a bug report. Hopefully it will be fixed or at least illuminate the issue.
     
  3. barbe63

    barbe63

    Joined:
    Oct 6, 2014
    Posts:
    35
    Thanks for the input. It's version 5.2.0f3 and I tried with all shaders so if it's related to shaders it means all shaders are involved. I made a mistake by the way it's not self shadow only but all shadows. It can cast but can't receive. Title corrected.
    I'll try to make a tiny version of my project because right now filling a bug report would take ages to upload :p
     
  4. barbe63

    barbe63

    Joined:
    Oct 6, 2014
    Posts:
    35
    Well, I just reproduced it very easily in a brand new project. I put a plane, some lightprobes group, some primitive cubes and my model. When the light is baked it is the same issue, neither the cube or my model can receive any shadows with light probes on. :eek:
    Bug report sent.
    probes2.jpg