 				#endif
 
 				#if defined (UI_TONE) || defined (UI_BLUR)
-				half3 effectFactor : TEXCOORD2;
+				half4 effectFactor : TEXCOORD2;
+				#endif
+				#if UI_TONE_HUE || UI_TONE_PIXEL
+				half4 extraFactor : TEXCOORD3;
 				#endif
 			};
 			

				color.rgb = IN.color.rgb;
				color.a = color.a * tex2D(_MainTex, IN.texcoord).a + IN.effectFactor.x * 2 - 1;
				#elif UI_TONE_HUE
				color.rgb = shift_hue(color.rgb, IN.effectFactor.x, IN.effectFactor.y);
				#elif defined (UI_TONE) & !UI_TONE_CUTOFF
				color = ApplyToneEffect(color, IN.effectFactor.x);
				#endif

				#endif

				#if UI_TONE_HUE
				OUT.extraFactor.x = cos(OUT.effectFactor.x*3.14159265359 * 2);
				OUT.extraFactor.y = sin(OUT.effectFactor.x*3.14159265359 * 2);
				#elif UI_TONE_PIXEL
				OUT.extraFactor.xy = max(2, (1-OUT.effectFactor.x) * _MainTex_TexelSize.zw);
				#endif
				
				#if defined (UI_COLOR)
