diff --git a/Assets/automata/Automata.unity b/Assets/automata/Automata.unity index 080ed51..7cc6bae 100644 --- a/Assets/automata/Automata.unity +++ b/Assets/automata/Automata.unity @@ -847,7 +847,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!65 &1377711729 BoxCollider: m_ObjectHideFlags: 0 @@ -1550,7 +1550,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2044521647} m_LocalRotation: {x: 0, y: 1, z: 0, w: 0} - m_LocalPosition: {x: -2.402, y: 0.506, z: 0.292} + m_LocalPosition: {x: -2.402, y: 0.506, z: 0.196} m_LocalScale: {x: 0.125, y: 0.125, z: 0.125} m_Children: [] m_Father: {fileID: 0} @@ -1579,7 +1579,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!114 &2129299479 MonoBehaviour: m_ObjectHideFlags: 0 diff --git a/Assets/automata/Lenia/lenia.shader b/Assets/automata/Lenia/lenia.shader index dbbe5bf..359260d 100644 --- a/Assets/automata/Lenia/lenia.shader +++ b/Assets/automata/Lenia/lenia.shader @@ -5,7 +5,7 @@ _LastFrame ("Texture", 2D) = "white" {} _GrowtCenter ("Growth fn center (mu)", Range(0, 1)) = 0.2 _GrowthWidth ("Growth fn width (sigma / std deviation)", Range(0, 1)) = 0.07 - _Speed ("Speed factor", Range(0.001, 0.5)) = 0.1 + _Speed ("Speed factor", Range(0.3, 5)) = 1 } SubShader { @@ -103,7 +103,7 @@ float old_state = value(i.uv, 0.0, 0.0) ; float count = total / total_max; - const float step = _Speed / _Time.x; + const float step = _Speed * unity_DeltaTime.x; float state = activation(count) * step + old_state; state = clamp(state, 0, 1); diff --git a/Assets/automata/Lenia/lenia_sim.mat b/Assets/automata/Lenia/lenia_sim.mat index 0b70646..0e01792 100644 --- a/Assets/automata/Lenia/lenia_sim.mat +++ b/Assets/automata/Lenia/lenia_sim.mat @@ -81,7 +81,7 @@ Material: - _Radius: 13 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 1 - - _Speed: 0.1 + - _Speed: 2 - _SrcBlend: 1 - _UVSec: 0 - _ZWrite: 1 diff --git a/Assets/automata/WireWorld/wireworld.shader b/Assets/automata/WireWorld/wireworld.shader index cf65cee..9c93a40 100644 --- a/Assets/automata/WireWorld/wireworld.shader +++ b/Assets/automata/WireWorld/wireworld.shader @@ -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); }