瀏覽代碼

Merge pull request #9730 from Popov72/nme-fog-reflection

Fog block is not a final merger block
sebavan 4 年之前
父節點
當前提交
b54f7f80a3
共有 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
      * @param name defines the block name
      */
      */
     public constructor(name: string) {
     public constructor(name: string) {
-        super(name, NodeMaterialBlockTargets.VertexAndFragment, true);
+        super(name, NodeMaterialBlockTargets.VertexAndFragment, false);
 
 
         // Vertex
         // Vertex
         this.registerInput("worldPosition", NodeMaterialBlockConnectionPointTypes.Vector4, false, NodeMaterialBlockTargets.Vertex);
         this.registerInput("worldPosition", NodeMaterialBlockConnectionPointTypes.Vector4, false, NodeMaterialBlockTargets.Vertex);