We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7528a0f commit eb2e510Copy full SHA for eb2e510
packages/engine/Source/Scene/BillboardCollection.js
@@ -1060,6 +1060,8 @@ function writeCompressedAttrib0(
1060
compressed1 += upperTranslateY;
1061
compressed2 += lowerTranslateY;
1062
1063
+ // Compress image coordinates (px), integers 0-2^16 from lower-left of atlas. Avoid
1064
+ // `AttributeCompression.compressTextureCoordinates` for lossless pixel values.
1065
const compressedImageLL = imageX * LEFT_SHIFT16 + imageY;
1066
const compressedImageLR = (imageX + imageWidth) * LEFT_SHIFT16 + imageY;
1067
const compressedImageUR =
0 commit comments