時間から色を決める
code:HLSL
i.uv += 0.2 + sin(_Time.y);
return fixed4(abs(i.uv.x * i.uv.y - frac(_Time.y)), abs(i.uv.x + frac(_Time.x)), abs(i.uv.y - frac(_Time.z)), 1);
https://gyazo.com/4d93990bc02f1db76cfefd5d083e0896
code:HLSL
i.uv = mul(scgRotate2DM(_Time.z), i.uv - 0.5);
i.uv += -0.5 + 0.2 * sin(_Time.y);
return 0.8 * fixed4(abs(i.uv.x * i.uv.y - frac(_Time.y)), abs(i.uv.x + frac(_Time.x)), abs(i.uv.y - frac(_Time.z)), 1);
https://gyazo.com/cdfacf482279d8faf4b397edcf79ceb7