Search Unity

Does Shader graph support masking ?

Discussion in 'Shaders' started by Aladine, Dec 2, 2018.

  1. Aladine

    Aladine

    Joined:
    Jul 31, 2013
    Posts:
    195
    Hi,

    I want to create this effect:

    which in my opinion should be created like this:

    • base grid (no glow)


    • Blue glow grid


    • Orange glow grid


    • and a mesh (sphere) set as a child of these 2 rectangle in the example that makes the glowing grids display only within that sphere volume.

    I know this is possible with shader programming but i never got the chance to dive into that, am wondering if its possible to do it with shader graph cause last time i checked (months ago) it wasn't.

    Thank you