wireworld: normalize time
This commit is contained in:
parent
111f4a21af
commit
16ac2515e4
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@
|
||||||
if (t > 0.9) {
|
if (t > 0.9) {
|
||||||
return float4(0, 0, 0, 1);
|
return float4(0, 0, 0, 1);
|
||||||
}
|
}
|
||||||
t = t + 0.02;
|
const float UPS = 4.0;
|
||||||
|
t = t + UPS / _Time.y ;
|
||||||
return float4(t, t, t, 1);
|
return float4(t, t, t, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue