Search Unity

Can I make a cutout shader slightly change the X or Y of 'Tiling'?

Discussion in 'Shaders' started by astracat111, Sep 11, 2019.

  1. astracat111

    astracat111

    Joined:
    Sep 21, 2016
    Posts:
    525
    Hey there, I'm wondering if it's possible to have a shader slightly shift the X or Y of 'Tiling'?

    I think this would be a bad idea in a script due to it having a high impact on CPU performance if you have like 200 bushes in a scene, right?

    The reason for this is that it would make me able to create foliage that's animated like this: