Search Unity

Issues with custom lighting and vertex displacement

Discussion in 'Shaders' started by VictorKs, Sep 16, 2019.

  1. VictorKs

    VictorKs

    Joined:
    Jun 2, 2013
    Posts:
    242
    When I added the standard Wrap-diffuse lighting to my shader along with vertex displacement my models appear messed up. This only happens in deferred rendering projects if I switch to forward rendering transparent parts are gone. my shader is fully opaque.