Skip to content

Commit be6e228

Browse files
author
Tatami
committed
tintColorに初期値を設定
1 parent eebc9e8 commit be6e228

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Nova/Runtime/Core/Shaders/ParticlesUber.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ half TintMapProgress(in half progress)
464464
// Apply the tint color.
465465
inline void ApplyTintColor(in out half4 color, half2 uv, half progress, half blendRate)
466466
{
467-
half4 tintColor;
467+
half4 tintColor = half4(1, 1, 1, 1);
468468
#ifdef _TINT_COLOR_ENABLED
469469
tintColor = _TintColor;
470470
#elif defined(_TINT_MAP_ENABLED) || defined(_TINT_MAP_MODE_2D_ARRAY) || defined(_TINT_MAP_3D_ENABLED)

0 commit comments

Comments
 (0)