Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: netguy on June 14, 2016, 12:22:27 AM

Title: UILabel with dynamic font doesn't show when covered by texture mask UIPanel
Post by: netguy on June 14, 2016, 12:22:27 AM
Hello,

I meet a problem, any one can help me?
On PS4 and XBoxOne, an UILabel with dynamic font doesn't show when its parent is a UIPanel with a texture mask.
Does anyone meet such problem before?
Title: Re: UILabel with dynamic font doesn't show when covered by texture mask UIPanel
Post by: netguy on June 14, 2016, 08:42:36 PM
I found the solution.

The reason is the incompatible keywords cause this problem.
Solution:
in Unlit - Text (TextureClip).shader
Replace the type of vertex with SV_POSITION in v2f struct.
Replace the output type of frag with SV_Target.