Since 1.91, 3dtiles with KHR_texture_transform display unnormal
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
Sandcastle example:
https://sandcastle.cesium.com/#c=bVJrb5swFP0rFp9SqTKwZmmapdUqqCJYHkubdkuFNLnmJnExdmqbZDDlv89AspcmgeDee865xwdcF40UEQYFoFmRxw+IUApaIyNRKQuFmBSIaA1GJ6LF4EgKnMKKFNzcNuCFzECga5Q4UMablxFlMxZHj1XkT1mkI3H/ngZRL8q2X5+C+Apb0Fs6ympQtnw3705HcTZ78PNJ9czGi3k5rSIz+zK/WJZeNQkf/am9n8NldxpSNg7i7bMVm7zOy1k40VHON2ldL5bV9HVezcK77kR4eF3cLcBfZfPoW59cLfuMB/EyfBwvPH25Gn3/7HvhJlvDp13ZTZwPiUgElUIbtGOwB2XPImB/zAQ/Nb1O4tCmDqQwhAlQiXPWMI0q0Y9EINRKKNA2OApWhOwJO0Vbx3Z/HOGVkvltnWqUdvx+r9e97NdaJwkQhpnSCrR2cFMz0JikaadZhdBWatuTYnDSD4gy9o2Ii0Y+hLUC0B3vHNnL97yz85aYyxT4AB1lECoUG/wyfcQcmueh9XQ0YRShGaR3J2+tSYs4IEoM3aAOKCXV2e8sJAfM5frYr5GJcM6doTYlh5sa9ZHlW6mM9cA7GLsG8i0n9hTuS2F3GUy1rnlD90QZpmyHWHr9n4+BKLc/qp2sCs4fWAWJczN0Lf4vGpckZWI924HipLSQ2sZw49+M2wHGeOjasl76L9dIyV+I+kP3Jw
Browser:
Chrome
Operating System:
Windows 11
Hi,
the same 3dtiles data, I load it with 1.90, display well, look at the picture below,

I load the same data ,with 1.91,1.93,1.95, 1.100, and the latest 1.106, all not well.
In the gltf mode, I pack four images with gap to one single image, and modify the uv, so there is only one mesh, but only 1.90 or older version works well.
below is the gltf material,
"materials": [
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0
},
"metallicFactor": 0,
"roughnessFactor": 0.5
},
"extensions": {
"KHR_materials_unlit": {}
}
},
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0,
"extensions": {
"KHR_texture_transform": {
"offset": [
0.5009727478027344,
0.000974658876657486
],
"scale": [
0.49805447459220886,
0.0623781681060791
]
}
}
},
"metallicFactor": 0,
"roughnessFactor": 0.5
},
"extensions": {
"KHR_materials_unlit": {}
}
},
{
"pbrMetallicRoughness": {
"baseColorTexture": {
"index": 0,
"extensions": {
"KHR_texture_transform": {
"offset": [
0.5009727478027344,
0.06530214101076126
],
"scale": [
0.06225680932402611,
0.0623781681060791
]
}
}
},
"metallicFactor": 0,
"roughnessFactor": 0.5
},
"extensions": {
"KHR_materials_unlit": {}
}
}
],
Contributor guide
Research direction
Start with the linked Sandcastle example and compare its rendering under Cesium 1.90 and later versions. Inspect how the supplied glTF material uses KHR_texture_transform with packed textures, then verify the same 3D Tiles data displays correctly in the affected versions. Done means the transformed textures render as they did in 1.90.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100