\$\begingroup\$

I created an alpha mask to apply a color palette. I just want to change the color of the specific alpha value. How can I do that? (script or shader graph, it doesn’t matter)

Unity version: Unity 2022.3 LTS

Alpha Mask:

  • Outline: RGBA(0, 0, 0, 255)
  • Color A: RGBA(0, 0, 0, 1)
  • Color B: RGBA(0, 0, 0, 2)
  • Color C: RGBA(0, 0, 0, 3)
  • Color D: RGBA(0, 0, 0, 4)

Example:

Xerapht is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

\$\endgroup\$

You must log in to answer this question.