David Catuhe 6 anos atrás
pai
commit
0bb1c4e76a

+ 1 - 1
src/Materials/Node/Blocks/Dual/lightBlock.ts

@@ -94,7 +94,7 @@ export class LightBlock extends NodeMaterialBlock {
         if (!defines._areLightsDirty) {
             return;
         }
-        
+
         const scene = mesh.getScene();
 
         if (!this.light) {

+ 2 - 2
src/Materials/Node/Blocks/Fragment/textureBlock.ts

@@ -127,7 +127,7 @@ export class TextureBlock extends NodeMaterialBlock {
         state._emitVaryingFromString(this._transformedUVName, "vec2", this._defineName);
         state._emitVaryingFromString(this._mainUVName, "vec2", this._mainUVDefineName);
 
-        state._emitUniformFromString(this._textureTransformName, "mat4", this._defineName)
+        state._emitUniformFromString(this._textureTransformName, "mat4", this._defineName);
 
         if (state.sharedData.emitComments) {
             state.compilationString += `\r\n//${this.name}\r\n`;
@@ -160,7 +160,7 @@ export class TextureBlock extends NodeMaterialBlock {
         state.sharedData.blocksWithDefines.push(this);
         state.sharedData.bindableBlocks.push(this);
 
-        state._emitUniformFromString(this._textureInfoName, "float")
+        state._emitUniformFromString(this._textureInfoName, "float");
 
         let uvInput = this.uv;
         let output = this._outputs[0];

+ 1 - 1
src/Materials/Node/nodeMaterialBlock.ts

@@ -7,7 +7,7 @@ import { Effect, EffectFallbacks } from '../effect';
 import { AbstractMesh } from '../../Meshes/abstractMesh';
 import { Mesh } from '../../Meshes/mesh';
 import { NodeMaterial, NodeMaterialDefines } from './nodeMaterial';
-import { InputBlock } from './Blocks';
+import { InputBlock } from './Blocks/Input/inputBlock';
 
 /**
  * Defines a block that can be used inside a node based material

+ 0 - 1
src/Materials/Node/nodeMaterialBuildState.ts

@@ -289,7 +289,6 @@ export class NodeMaterialBuildState {
         }
     }
 
-
     /** @hidden */
     public _emitUniformFromString(name: string, type: string, define: string = "", notDefine = false) {
         if (this.uniforms.indexOf(name) !== -1) {