wireworld: normalize time

This commit is contained in:
Crispy 2023-06-25 18:33:47 +02:00
parent 111f4a21af
commit 16ac2515e4

View file

@ -90,7 +90,8 @@
if (t > 0.9) {
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);
}