Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Randomize tiling

Discussion in 'Shader Graph' started by MonkeyKasai, Jan 21, 2020.

  1. MonkeyKasai

    MonkeyKasai

    Joined:
    Jan 4, 2014
    Posts:
    40
    Hi there,

    I'm currently working on trying to get a point cloudish look onto my meshes, so have been playing around with the shader graph. Currently i'm using Tiling and Offset with Fraction into a rectangle node to get my points, but it is too uniform. Wonder if anyone had ideas about how to get a more random look it.
    Ive tried using noise nodes but then it loses the rectangle shape.

    Thanks in advance
     

    Attached Files:

  2. Elizabeth_LeGros

    Elizabeth_LeGros

    Unity Technologies

    Joined:
    Jan 7, 2020
    Posts:
    50
    forum random points5.gif Hello!
    Since you are already taking the uv tiling, you could just sample the floor of the value and use that as a seed for a random node?
     
    MonkeyKasai likes this.
  3. MonkeyKasai

    MonkeyKasai

    Joined:
    Jan 4, 2014
    Posts:
    40
    Thank you!! exactly what I was looking for!