瀏覽代碼

Fog block is not a final merger block

Popov72 4 年之前
父節點
當前提交
6e5f1d5052
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Materials/Node/Blocks/Dual/fogBlock.ts

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

@@ -26,7 +26,7 @@ export class FogBlock extends NodeMaterialBlock {
      * @param name defines the block name
      */
     public constructor(name: string) {
-        super(name, NodeMaterialBlockTargets.VertexAndFragment, true);
+        super(name, NodeMaterialBlockTargets.VertexAndFragment, false);
 
         // Vertex
         this.registerInput("worldPosition", NodeMaterialBlockConnectionPointTypes.Vector4, false, NodeMaterialBlockTargets.Vertex);