Set sampler max. anisotropy to 1.0f instead of 0.0f (valdidation)
Refs #277
This commit is contained in:
parent
f447047913
commit
55da334ba1
10 changed files with 11 additions and 11 deletions
|
|
@ -370,7 +370,7 @@ public:
|
|||
// Both particle textures have the same number of mip maps
|
||||
samplerCreateInfo.maxLod = float(textures.particles.fire.mipLevels);
|
||||
// Enable anisotropic filtering
|
||||
samplerCreateInfo.maxAnisotropy = 8;
|
||||
samplerCreateInfo.maxAnisotropy = 8.0f;
|
||||
samplerCreateInfo.anisotropyEnable = VK_TRUE;
|
||||
// Use a different border color (than the normal texture loader) for additive blending
|
||||
samplerCreateInfo.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue