Skip to content

Commit 4d90277

Browse files
authored
Merge pull request #929 from ChrisKing340/patch-1
Change ComparisonFunc to D3D12_COMPARISON_FUNC_ALWAYS
2 parents e4d1dd7 + 5dbfccc commit 4d90277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MiniEngine/Core/SamplerManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class SamplerDesc : public D3D12_SAMPLER_DESC
3030
AddressW = D3D12_TEXTURE_ADDRESS_MODE_WRAP;
3131
MipLODBias = 0.0f;
3232
MaxAnisotropy = 16;
33-
ComparisonFunc = D3D12_COMPARISON_FUNC_LESS_EQUAL;
33+
ComparisonFunc = D3D12_COMPARISON_FUNC_ALWAYS;
3434
BorderColor[0] = 1.0f;
3535
BorderColor[1] = 1.0f;
3636
BorderColor[2] = 1.0f;

0 commit comments

Comments
 (0)