Update texture sampling calls in unit tests

このコミットが含まれているのは:
Sergio Pedri committed 2022-08-09 17:37:54 +02:00
1 親 a7a4c22a9c
コミット 6c75394e22
5ファイル変更
+11 -11

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

+1 -1
ファイルの表示
@@ -111,7 +111,7 @@ internal readonly partial struct ContouredLayers : IPixelShader<float4>
// Layer color. Based on the shade, layer number and smoothing factor.
private float3 GetColor(float2 p, float sh, float fi)
{
float3 tx = texture[p + Hash21(new float2(sh, fi))].XYZ;
float3 tx = texture.Sample(p + Hash21(new float2(sh, fi))).XYZ;
tx *= tx;