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 [Urgent]How to achieve an effect just like Genshin Impact character Upskirt Censorship?

Discussion in 'General Graphics' started by gannchuukaju, Mar 16, 2022.

  1. gannchuukaju

    gannchuukaju

    Joined:
    Jun 16, 2021
    Posts:
    8
    This question may be very funny, but I try using this in my demo. Well I concentrate on the effect that the more you go close to see what’s underneath the skirt, the higher your character’s opacity level. I found that the opacity effect was not just a simple alpha gradient. Instead during the transparency (alpha from 0 to 1), the pixels rendered by character shader gradually appear like tile-based , so how to make that? Is this controled by a tile-based-like grayscale map? How to make that map if so?
    You can see this effect on the video around 1:10 :

    Thanks !
     
  2. mabulous

    mabulous

    Joined:
    Jan 4, 2013
    Posts:
    198
    It's called screen-door transparency. there are shaders for it on the asset store.
     
    gannchuukaju likes this.