DEV Community

Piler
Piler

Posted on

[Unity] Two texture transition shader

Target Effect:
Image description

  1. Create variables: two texture and origin(float)

Image description

  1. Create a binary mask Image description
  2. Create a reversed binary mask Image description
  3. Multiple the binary mask and texture, then add them together Image description
  4. Done! You can modify the origin to do transition!

Top comments (0)