@webxr-jp/mtoon-atlas 0.1.3 → 0.1.4
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.cjs +0 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -219,12 +219,8 @@ var MToonAtlasMaterial = class _MToonAtlasMaterial extends THREE.ShaderMaterial
|
|
|
219
219
|
setDefine("MTOON_USE_UV", useUv);
|
|
220
220
|
setDefine("OUTLINE", this._isOutline);
|
|
221
221
|
setDefine("OUTLINE_WIDTH_SCREEN", this._isOutline && this._outlineWidthMode === "screenCoordinates");
|
|
222
|
-
if (this.alphaTest === 0) {
|
|
223
|
-
console.log("[MToonAtlasMaterial] updateDefines alphaTest: 0, stack:", new Error().stack);
|
|
224
|
-
}
|
|
225
222
|
if (this.alphaTest > 0) {
|
|
226
223
|
this.defines["ALPHATEST"] = this.alphaTest.toString();
|
|
227
|
-
console.log("[MToonAtlasMaterial] ALPHATEST define set to:", this.alphaTest.toString());
|
|
228
224
|
} else {
|
|
229
225
|
delete this.defines["ALPHATEST"];
|
|
230
226
|
}
|
|
@@ -921,7 +917,6 @@ var MToonAtlasExporterPlugin = class {
|
|
|
921
917
|
const originalAfterParse = this.afterParse.bind(this);
|
|
922
918
|
this.afterParse = (input) => {
|
|
923
919
|
originalAfterParse(input);
|
|
924
|
-
console.log(`[MToonAtlasExporterPlugin] processAccessor cache: ${cacheHits}/${totalCalls} hits (${fingerprintToAccessor.size} unique)`);
|
|
925
920
|
};
|
|
926
921
|
}
|
|
927
922
|
/**
|