Shader Variable Node - digicrafts/2DEffectsShaderEditorNodes GitHub Wiki

Time Node

Repersent the _Time shader variable. Time since level load (t/20, t, t2, t3), use to animate things inside the shaders.

Port Description
t/20 The _Time.x value.
t The _Time.y value.
t*2 The _Time.z value.
t*3 The _Time.w value.
Property Description
Scale Set the ouptut scale. e.g. scale=2, output = _Time.x*scale.

SinTime Node

Repersent the _SinTime shader variable. Sine of time: (t/8, t/4, t/2, t).

Port Description
t/8 The _SinTime.x value.
t/4 The _SinTime.y value.
t/2 The _SinTime.z value.
t The _SinTime.w value.
Property Description
Scale Set the ouptut scale. e.g. scale=2, output = _SinTime.x*scale.

CosTime Node

Repersent the _CosTime shader variable. Cosine of time: (t/8, t/4, t/2, t).

Port Description
t/8 The _CosTime.x value.
t/4 The _CosTime.y value.
t/2 The _CosTime.z value.
t The _CosTime.w value.
Property Description
Scale Set the ouptut scale. e.g. scale=2, output = _CosTime.x*scale.

DeltaTime Node

Repersent the unity_DeltaTime shader variable. Delta time: (dt, 1/dt, smoothDt, 1/smoothDt).

Port Description
dt The unity_DeltaTime.x value.
1/dt The unity_DeltaTime.y value.
smoothDt The unity_DeltaTime.z value.
1/smoothDt The unity_DeltaTime.w value.
Property Description
Scale Set the ouptut scale. e.g. scale=2, output = unity_DeltaTime.x*scale.