Shader Graph 2D(v.2019): How can create Transparency Gradient on shader plain?
Hello Im making 2d game in unity version 2019, and make Fog plain following Youtube. The one is 1st img.
But I want to smooth top & bottom boundary. When googled it, they use 'Lerp' so I fix my Shader Graph like 2nd img. The color(a) is alpha is 255 and the color(b) is alpha is 0. Give transparency gradations it on both sides. I thought the beginning of the fog would be invisible, but in the middle is visible, and the bottom is invisible again.
But it doesn't work well.. I wonder what is wrong...
Thanks for help!
스크린샷-2021-08-19-161617.png
(343.0 kB)
스크린샷-2021-08-19-160858.png
(309.3 kB)
Comment