Skip to content

Commit 0a99bb7

Browse files
committed
fix: fully visible when the transition rate is set to 1
close #309
1 parent 6b6ff3e commit 0a99bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/src/Shaders/UIEffect.cginc

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ float2 texel_size()
6565

6666
float transition_rate()
6767
{
68-
return frac(_TransitionAutoPlaySpeed * _Time.y + _TransitionRate);
68+
return frac(_TransitionAutoPlaySpeed * _Time.y + _TransitionRate * 0.9999);
6969
}
7070

7171
float3 rgb_to_hsv(float3 c)

0 commit comments

Comments
 (0)