Hi everyone. I spent a lot of time to figure out the problem that wrote above.
https://www.sprite.com/zerolimits
for example, in this website, I could see all textures were not merged into glb file but loaded seperately like image file and then merged in Javascript code.
I tried the same approach but didn't work..!
as you can see on third photo, it looks like the problem is from uv mapping, so I checked the blender file and deleted useless uv map and then exported again, but didn't work too.
my 3d framework is r3f and wrote the sample code below this as well since I'm not sure if blender or my code is the problem.
import texture from '/path/to/ktx_texture'
import glb from '/path/to/glb'
...
const texture = useKTX2(texture) // same as .png with useTexture(pngImage);
const { nodes } = useGLTF(glb)
...
<mesh geometry={nodes.Plane003.geometry}>
<meshStandardMaterial map={texture} />
</mesh>
...
also I was wondering if seperating glb and ktx2 has more benefit than one single glb containing ktx2
