main preview gets blank, as I'm not sure how to set alpha in shader graph
I am trying to create dissolve shader. Although i have made the effect but cannot finalise it as it gets blank when i set alpha to alpha in Fragment.(see attached pic)
My aim is to apply the effect shown in Mutiply node next to Fragment node, dissolving with blue border, but the effect in the main preview either gets blank (if connect alpha from split node), or loses border effect ( if connect from multiply node next to alpha in Fragment).
If i give up on adding border effect then it works fine, but i want to add the border effect and that is why I'm struggling with the issue described above.
If anyone knows how to fix this, please help me. Many thanks in advance.
Answer by morima123 · Mar 08 at 02:11 AM
SOLVED:
I just needed to multiply alpha value of Add node by alpha from Sample Texture 2D node, and then connect that alpha to Fragment.
As for "loses border effect ( if connect from multiply node next to alpha in Fragment)." problem, alpha value of Color property was set to 0, removing border effect. What an idiot...
Your answer
Follow this Question
Related Questions
How to create an if statement for each element within a list C# 2 Answers
Unity 5.1 GUI mask disappears in Android build 0 Answers
Adjusting content display. 0 Answers
Unity Dropdown Menu Not Closing 1 Answer