Explorar o código

Fog block is not a final merger block

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
6e5f1d5052
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);