Search Unity

Disabling shadow receiving in deferred rendering?

Discussion in 'Shaders' started by Damocles, Sep 26, 2014.

  1. Damocles

    Damocles

    Joined:
    Jul 21, 2012
    Posts:
    46
    Is it possible to switch off shadow receiving using shaders? I know that turning off "receive shadows" in the mesh renderer has no effect in deferred rendering, but can it be achieved through shaders? I tried #pragma noshadows, but that has no effect.

    Is there anything else I could try?