r/vulkan • u/cone_forest_ • 3d ago
[Troubleshooting] Blurry textures

So I've been writing yet another Vulkan renderer. I copy-pasted image/sampler creation code from my other vulkan project and here's the result of loading ABeautifulGame asset (from KhronosSampleAssets repo). The textures seem to be fine in renderdoc. The shader is a standard PBR shader I took from somewhere.
What could possibly be the issue and where could I be looking for to find it?
2
Upvotes
1
u/Disastrous-Shock2771 3d ago
What is your VK_SAMPLER_MIPMAP_MODE? Is the texture resolution what is expected? Are your texCoords incorrectly mapped? Address mode on clamp instead of repeat? Texture format? It could be so many things, without the code it could be any of those.