<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShaderGraph-Docs",
  "identifier" : "/documentation/ShaderGraph/Compositing/Burn",
  "metadataVersion" : "0.1.0",
  "role" : "ShaderGraph Node",
  "symbol" : {
    "kind" : "ShaderGraph Node",
    "modules" : [
      "ShaderGraph"
    ],
    "preciseIdentifier" : "Shader_ND_burn_float"
  },
  "title" : "Burn"
}
-->

# Burn

A blend operation that darkens the foreground layer using the background.

## Overview

1 - (1 - B) / F

## Parameter Types

**Burn (float):**

|Input       |Type |
                |------------|-----|
                |`Foreground`|Float|
                |`Background`|Float|
                |`Mix`       |Float|

|Output|Type |
                |------|-----|
                |`Out` |Float|

**Burn (half):**

|Input       |Type|
                |------------|----|
                |`Foreground`|Half|
                |`Background`|Half|
                |`Mix`       |Half|

|Output|Type|
                |------|----|
                |`Out` |Half|

**Burn (color3f):**

|Input       |Type         |
                |------------|-------------|
                |`Foreground`|Color3<Float>|
                |`Background`|Color3<Float>|
                |`Mix`       |Float        |

|Output|Type         |
                |------|-------------|
                |`Out` |Color3<Float>|

**Burn (color4f):**

|Input       |Type         |
                |------------|-------------|
                |`Foreground`|Color4<Float>|
                |`Background`|Color4<Float>|
                |`Mix`       |Float        |

|Output|Type         |
                |------|-------------|
                |`Out` |Color4<Float>|

## Parameter descriptions

- `Foreground`: The foreground input. Represented by `F` in the mathmatical equation.
- `Background`: The background input. Represented by `B` in the mathmatical equation.
- `Mix`: The weight of the blend effect. The higher the `Mix`, the greater the intensity of the blend operation, and the more the effect is visually apparent. The default value is `1`. Values outside of the range `0-1` produce an undefined effect outside of the node’s intended function.

## Discussion

The `Burn` node darkens each area in the background based on the darkness of the corresponding area in the foreground, represented by the equation `1 - (1 - B) / F`.
Below is an example of a node graph that uses the `Burn` node to darken a brick texture:

![](images/ShaderGraph-Docs/BurnGraph.png)

Use a [`Noise 2D`](/documentation/ShaderGraph/2D-Procedural/Noise-2D) node to generate Perlin noise, and use the output of that texture as the foreground in the `Burn` node. This process darkens the background brick texture according to the procedural pattern.
Below, the resulting texture applies to a cube:

![](images/ShaderGraph-Docs/BurnMaterial~dark.png)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)