Search Unity

Resolved Spot light with Mixed mode = no dynamic shadows on static game objects

Discussion in 'Global Illumination' started by BenoitFreslon, Feb 8, 2022.

  1. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    166
    Hello,

    I'm trying to create a scene with baked lightmpas but I would like to cast shadows on the main character and on other dynamic game objects with the same light.

    All static objects are checked "static". The baking is OK but I can't cast shadows on all other non static gameobjects.

    Thanks for your help.

    upload_2022-2-8_21-30-5.png

    upload_2022-2-8_21-28-54.png

    upload_2022-2-8_21-29-34.png
     

    Attached Files:

  2. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    166
    If I read this message : upload_2022-2-9_12-44-21.png
    Drop Shadows on Static Object must be casted by the Directional Light only.
     
  3. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    That's exactly right. You'd have to switch to either Baked Indirect or Shadowmask lighting mode to achieve the result you want. Otherwise, you could rely on blob shadows + Subtractive lighting mode.