Add D2D1 Octagrams test

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 21:57:07 +02:00
1 親 737cfd6c0a
コミット 48fcdb218d
4ファイル変更
+140 -2

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -123,7 +123,7 @@ internal readonly partial struct Octagrams : IComputeShader
}
float3 col = ac * 0.02f + new float3(0.0f, 0.2f * Hlsl.Abs(Hlsl.Sin(time)), 0.5f + Hlsl.Sin(time) * 0.2f);
float4 color = new(col, 1.0f - t * (0.02f + 0.02f * Hlsl.Sin(time)));
float4 color = new(col, 1);
texture[ThreadIds.XY] = color;
}