laymur 0.3.13 → 0.3.15

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/dist/index.js CHANGED
@@ -2159,7 +2159,7 @@ var UITransparencyMode;
2159
2159
  UITransparencyMode[UITransparencyMode["BLEND"] = 2] = "BLEND";
2160
2160
  })(UITransparencyMode || (UITransparencyMode = {}));
2161
2161
 
2162
- var fragmentShader = "in vec2 io_UV;\n\nuniform float alphaTest;\nuniform float uvTransform;\n\n#include <common>\n#include <alphahash_pars_fragment>\n";
2162
+ var fragmentShader = "in vec2 io_UV;\n\nuniform float alphaTest;\n\n#include <common>\n#include <alphahash_pars_fragment>\n";
2163
2163
 
2164
2164
  var vertexShader = "out vec2 io_UV;\n#include <common>\n\nvoid main() {\n #include <begin_vertex>\n io_UV = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n";
2165
2165
 
@@ -5048,6 +5048,7 @@ class UIImage extends UIElement {
5048
5048
  this.solverWrapper.suggestVariableValue(this.hVariable, h);
5049
5049
  this._private_textureInternal = value;
5050
5050
  this.sceneWrapper.setUniform(this.planeHandler, "map", value);
5051
+ this.sceneWrapper.setUniform(this.planeHandler, "uvTransform", value.matrix);
5051
5052
  }
5052
5053
  /**
5053
5054
  * Sets the color tint applied to the image.