wireworld, lenia: fix time scale

This commit is contained in:
Crispy 2023-06-25 18:53:48 +02:00
parent 16ac2515e4
commit a17640b7cc
4 changed files with 7 additions and 8 deletions

View file

@ -90,8 +90,7 @@
if (t > 0.9) {
return float4(0, 0, 0, 1);
}
const float UPS = 4.0;
t = t + UPS / _Time.y ;
t += unity_DeltaTime.x * 4;
return float4(t, t, t, 1);
}