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)

Image of Stellar post

How a Hackathon Win Led to My Startup Getting Funded

In this episode, you'll see:

  • The hackathon wins that sparked the journey.
  • The moment José and Joseph decided to go all-in.
  • Building a working prototype on Stellar.
  • Using the PassKeys feature of Soroban.
  • Getting funded via the Stellar Community Fund.

Watch the video 🎥

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay