@needle-tools/materialx 1.0.6 → 1.0.7
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
|
@@ -160,8 +160,7 @@ export class MaterialXMaterial extends ShaderMaterial {
|
|
|
160
160
|
|
|
161
161
|
this._context = init.context;
|
|
162
162
|
|
|
163
|
-
|
|
164
|
-
{
|
|
163
|
+
if (debug) {
|
|
165
164
|
// Get lighting and environment data from MaterialX environment
|
|
166
165
|
console.group("[MaterialX]: ", this.name);
|
|
167
166
|
console.log(`Vertex shader length: ${vertexShader.length}\n`, vertexShader);
|