Author Topic: Help with Color Blend  (Read 1327 times)

Lex

  • Guest
Help with Color Blend
« on: May 13, 2013, 02:02:44 PM »
Hi guys, here in this post I explain what I'm trying to achieve.

http://forum.unity3d.com/threads/181134-Overlay-Blend-Mode-Shader

While studying I realized that what I might want to change is how NGUI blends the color since the color I pick is in the widget inspector and not exactly the Shader.

So what I'm trying to do here is find where in NGUI the actual pixel color is blended with the color selected as Color Tint so I can change its methods to the Overlay Blend Mode instead of Multiply.

I looked into OnFill methods and such but couldn't find it, any directions?

Edit: Maybe something inside UIDrawCall?
« Last Edit: May 13, 2013, 02:19:32 PM by Lex »

Lex

  • Guest
Re: Help with Color Blend
« Reply #1 on: May 13, 2013, 02:39:35 PM »
I just found out that the color selected in the Color Tint attribute just changes the vertex color of each vertex of a NGUI elements (planes) which means I'll have to edit the shaders like I thought initially.