Skip to content

Commit b5c8914

Browse files
committed
Removed a warrning.
1 parent 37447bb commit b5c8914

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Runtime/Shaders/UniversalToonInput.hlsl.meta

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Runtime/Shaders/UniversalToonOutline.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
float3 Set_BaseColor = _BaseColor.rgb*_MainTex_var.rgb;
7878
float3 _Is_BlendBaseColor_var = lerp( _Outline_Color.rgb*lightColor, (_Outline_Color.rgb*Set_BaseColor*Set_BaseColor*lightColor), _Is_BlendBaseColor );
7979
//
80-
float3 _OutlineTex_var = tex2D(_OutlineTex,TRANSFORM_TEX(Set_UV0, _OutlineTex));
80+
float3 _OutlineTex_var = tex2D(_OutlineTex,TRANSFORM_TEX(Set_UV0, _OutlineTex)).rgb;
8181
//v.2.0.7.5
8282
#ifdef _IS_OUTLINE_CLIPPING_NO
8383
float3 Set_Outline_Color = lerp(_Is_BlendBaseColor_var, _OutlineTex_var.rgb*_Outline_Color.rgb*lightColor, _Is_OutlineTex );

0 commit comments

Comments
 (0)