Achieving a static pattern effect

Discussion in 'Programming' started by Nifrinion, Nov 13, 2019.

  1. Nifrinion

    Nifrinion Member

    Joined:
    Sep 17, 2019
    Posts:
    5
    Hey all!
    I'm trying to achieve an effect where an object moves and displays a static pattern behind it.
    like this: https://imgur.com/gallery/1du6zXI/new
    I have been trying to achieve this with blendmodes, but with no success.
    Can this be achieved with blend modes? If not then how could it be achieved?
    Thanks :D
     
  2. samspade

    samspade Member

    Joined:
    Feb 26, 2017
    Posts:
    2,182
    You probably could do it with blend modes, but I would recommend using a shader. You can find a tutorial here: .
     
    Nifrinion and rIKmAN like this.
  3. rIKmAN

    rIKmAN Member

    Joined:
    Sep 6, 2016
    Posts:
    4,885
    Was going to post that it's known as the "Stans Coat" effect and link that exact video but you beat me to it hahah.
     
  4. Nifrinion

    Nifrinion Member

    Joined:
    Sep 17, 2019
    Posts:
    5
    Oh awesome! Thanks for the response guys :D
    I'll check this video out and see if I can make things work.
     
    Last edited: Nov 15, 2019
  5. The Reverend

    The Reverend Member

    Joined:
    Sep 8, 2016
    Posts:
    565
    The video uses a simple algorithm to create a pattern. If you're good at maths you csn of course create more cpmplicated algorithms. If you want to use a pattern sprite the video might not help enough though :(
     
    Nifrinion likes this.
  6. robproctor83

    robproctor83 Member

    Joined:
    Sep 30, 2019
    Posts:
    204
    Nifrinion likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice