glTF-Sample-Viewer icon indicating copy to clipboard operation
glTF-Sample-Viewer copied to clipboard

KTX Textures look blocky from some angles/distance

Open rsahlin opened this issue 5 years ago • 2 comments

From certain distance and/or angles a model with KTX textures look blocky. This is not due to compression artefacts since the model looks good in some other viewer for instance KTX textures are a mix of UASTC/ETC1S and are compressed using high quality.

Mid section looking blocky - perhaps no anisotropic filtering and issues with mip-levels and/or texture filtering?

image

The same model from a distance shows more blockiness - looks like filtering is not turned on and/or a mip-level problem.

image

KTX model used: https://github.com/KhronosGroup/glTF-Sample-Models/tree/stained-glass-lamp-ktx-highquality

rsahlin avatar Mar 08 '21 08:03 rsahlin

This should fix the problem: https://github.com/ux3d/glTF-Sample-Viewer/tree/fix/KTX2_mipmap Will review with my team tomorrow.

UX3D-nopper avatar Mar 08 '21 21:03 UX3D-nopper

#299 fixes this

mobecher avatar Mar 09 '21 16:03 mobecher