We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9aba334 + 00bbb0a commit c667f65Copy full SHA for c667f65
Assets/UnityChan/CandyRockStar/Shader/CharaSkin.cg
@@ -97,5 +97,7 @@ float4 frag( v2f i ) : COLOR
97
combinedColor = lerp( shadowColor, combinedColor, attenuation );
98
#endif
99
100
- return float4_t( combinedColor, diffSamplerColor.a ) * _Color * _LightColor0;
+ float4_t finalColor = float4_t( combinedColor, diffSamplerColor.a ) * _Color;
101
+ finalColor.rgb *= _LightColor0.rgb;
102
+ return finalColor;
103
}
0 commit comments