@xeokit/xeokit-sdk 2.4.2-beta-10 → 2.4.2-beta-11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xeokit/xeokit-sdk",
3
- "version": "2.4.2-beta-10",
3
+ "version": "2.4.2-beta-11",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -366,7 +366,7 @@ export class TrianglesDataTextureSnapDepthBufInitRenderer {
366
366
  if (clipping) {
367
367
  src.push("vFlags2 = flags2.r;");
368
368
  }
369
- src.push("vPickColor = vec4(texelFetch (uTexturePerObjectIdColorsAndFlags, ivec2(objectIndexCoords.x*8+1, objectIndexCoords.y), 0));");
369
+ src.push("vPickColor = vec4(texelFetch (uObjectPerObjectColorsAndFlags, ivec2(objectIndexCoords.x*8+1, objectIndexCoords.y), 0));");
370
370
  src.push("vec4 clipPos = projMatrix * viewPosition;");
371
371
  src.push("float tmp = clipPos.w;")
372
372
  src.push("clipPos.xyzw /= tmp;")