Search Unity

Question How to create Grid Shader that takes columns and rows

Discussion in 'Shader Graph' started by jGate99, Sep 19, 2019.

  1. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,940
    Hi there,

    I tried different strategies and ask questioned which no-one answered which means my approach was wrong as earlier i tried to create it with checkerbox.

    Recently i saw this tutorial for grid shader, which uses rectangle node and this is what i need.


    However i want exact number of columns and rows, and i want shader to stretch based on quad dimensions.



    So i'd really appreciate if someone helps me out.

    Thanks