|
@@ -14210,6 +14210,7 @@ const UniformsLib = {
|
|
|
scale: { value: 1.0 },
|
|
|
map: { value: null },
|
|
|
alphaMap: { value: null },
|
|
|
+ alphaMapTransform: { value: /*@__PURE__*/ new Matrix3() },
|
|
|
alphaTest: { value: 0 },
|
|
|
uvTransform: { value: /*@__PURE__*/ new Matrix3() }
|
|
|
|
|
@@ -14224,6 +14225,7 @@ const UniformsLib = {
|
|
|
map: { value: null },
|
|
|
mapTransform: { value: /*@__PURE__*/ new Matrix3() },
|
|
|
alphaMap: { value: null },
|
|
|
+ alphaMapTransform: { value: /*@__PURE__*/ new Matrix3() },
|
|
|
alphaTest: { value: 0 }
|
|
|
|
|
|
}
|
|
@@ -27150,6 +27152,8 @@ function WebGLMaterials( renderer, properties ) {
|
|
|
|
|
|
uniforms.alphaMap.value = material.alphaMap;
|
|
|
|
|
|
+ refreshTransformUniform( material.alphaMap, uniforms.alphaMapTransform );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if ( material.alphaTest > 0 ) {
|
|
@@ -27178,6 +27182,8 @@ function WebGLMaterials( renderer, properties ) {
|
|
|
|
|
|
uniforms.alphaMap.value = material.alphaMap;
|
|
|
|
|
|
+ refreshTransformUniform( material.alphaMap, uniforms.alphaMapTransform );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if ( material.alphaTest > 0 ) {
|