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

Create border brush

Discussion in '2D' started by AlexKZe, Nov 11, 2016.

  1. AlexKZe

    AlexKZe

    Joined:
    Apr 12, 2016
    Posts:
    2
    Hello!
    I have a brush for painting the texture. I use the algorithm bresenham for effective painting, but also I want when I spend drawing to draw not the entire brush, only the outline that is involved in this direction. how to implement it most effectively? what would outline was created in real time with respect to the direction of movement of the brush.
     

    Attached Files: