Search Unity

Unity SRP - shader graph - repeat pattern node

Discussion in 'Shaders' started by Obikson, Nov 18, 2018.

  1. Obikson

    Obikson

    Joined:
    Sep 21, 2017
    Posts:
    8
    I was trying to replicate checkerboard shader node from Substance Designer, that has 2 patterns as inputs and it is able to repeat them on checkerboard. Only closest thing I could possibly found in "Unity shader graph" is checkerboard, but the inputs are just colors.
    My progress so far.


    The best solution for me would be insert outline around each square for ex.: red line as shown below and avoid recreating texture with the outline that could be possibly be tiled!