Skip to content

Commit

Permalink
ApplyTintColor()内のlerpの引数の型を明示するよう修正
Browse files Browse the repository at this point in the history
  • Loading branch information
CA-Tatami committed Aug 8, 2024
1 parent 6d7c17a commit d517a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Nova/Runtime/Core/Shaders/ParticlesUber.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ inline void ApplyTintColor(in out half4 color, half2 uv, half progress, half ble
#elif defined(_TINT_MAP_ENABLED) || defined(_TINT_MAP_3D_ENABLED)
tintColor = SAMPLE_TINT_MAP(uv, progress);
#endif
color *= lerp(1, tintColor, saturate(blendRate));
color *= lerp(half4(1, 1, 1, 1), tintColor, saturate(blendRate));
}

// Apply the color correction.
Expand Down

0 comments on commit d517a9f

Please sign in to comment.