Search Unity

Sprite renderer Not overlapping lights with alpha

Discussion in 'Shaders' started by Kirby26, Jul 24, 2020.

  1. Kirby26

    Kirby26

    Joined:
    Mar 3, 2019
    Posts:
    13
    I tried blendop max, But that makes all the whole sprite fussion with all other textures in front or behind them.

    Eample:
    upload_2020-7-24_22-23-5.png

    And i managed to do it with the old shader system. But, then the alpha doesnt work porperly when light affect it.

    Example:
    upload_2020-7-24_21-29-9.png
    With light:
    upload_2020-7-24_21-29-31.png



    I need to prevent the lights overlapping and multiplyng intensities in sprite renderers double sided.