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. Dismiss Notice

Question Disable raytracing shadow casting per object

Discussion in 'HDRP Ray Tracing' started by RoughSpaghetti3211, Jun 23, 2022.

  1. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    Just wondering if there is a way to disable raytracing shadow casting per object. Thanks in advance for the help.
     
  2. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    695
    Sadly, no. It's per light only.
     
  3. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    Thank you for the reply. Any way to completely ignore an object, deactivating it still produces a shadow.
     
  4. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    695
    I'm not sure sure what happens in your setup but disabling the renderer or the gameobject itself should kill the shadow.

    If this doesn't happen, you can report a bug using Help > Report a bug menu and drop the case number here :)