Update texture sampling calls in unit tests
このコミットが含まれているのは:
1 親
a7a4c22a9c
コミット
6c75394e22
5ファイル変更
+11
-11
検索条件に一致するファイルはありません
@@ -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;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする