Get 30+ hr of DaVinci Resolve courses & 200+ pre-made assets

As little as $15/month for all courses and pre-made assets

Film Grain Node

The Film Grain node adds generated film grain to an image. Typically, when compositing with different elements shot on film and in digital, the grain is removed for compositing operations and then reapplied to the final composite. This helps create the appearance that all elements were shot as a single scene with the same film stock.

Film Grain Node Input

There are two inputs on the Film Grain node: one for the image and one for the effects mask.

  • Input: The orange input is used for the primary 2D image that gets the grain applied.
  • Effect Mask: The blue input is for a mask shape created by polylines, basic primitive shapes, paint strokes, or bitmaps from other tools. Connecting a mask to this input limits the grain to be within the pixels of the mask. An effects mask is applied to the tool after the tool is processed.

Film Grain Node Setup

The Film Grain node is commonly used before a MediaOut node in DaVinci Resolve or before a Saver node in Fusion Studio. Since grain is often removed from source material to achieve cleaner keys and composite, film grain is added back before the output to create a more realistic composite.

Film Grain Node Controls Tab

The Controls tab includes all the parameters for modifying the appearance of the film grain.

  • Complexity
    The Complexity setting indicates the number of “layers” of grain applied to the image. With a complexity of 1, only one grain layer is calculated and applied to the image. When complexity is set to 4, the node calculates four separate grain layers and applies the mean combined result of each pass to the final image. Higher complexities produce visually more sophisticated results, without the apparent regularity often perceivable in digitally-produced grain.
  • Alpha Multiply
    When the Alpha Multiply checkbox is enabled, the Film Grain node multiplies its results by the source image’s Alpha channel. This is necessary when working with post-multiplied images to ensure that the grain does not affect areas of the image where the Alpha is 0.0 (transparent).
  • Log Processing
    When this checkbox is enabled (default), the grain applied to the image has its intensity applied nonlinearly to match the grain profile of most film. Roughly speaking, the intensity of the grain increases exponentially from black to white. When this checkbox is disabled, the grain is applied uniformly, regardless of the brightness of the affected pixel.

    One of the primary features of grain in film is that the appearance of the grain varies radically with the exposure so that there appears to be minimal grain present in the blacks, with the amount and deviation of the grain increasing as the pixels exposure increases. In a film negative, the darkest portions of the developed image appear entirely opaque, and this obscures the grain. As the negative becomes progressively clearer, more of the grain becomes evident in the result. Chemical differences in the R, G, B, layer’s response to light also cause each color component of the film to present a different grain profile, typically with the blue channel presenting the most significant amount of grain.

    As a result, an essential control in the Film Grain node is the Log Processing checkbox, which should be enabled when matching film, and disabled when working with images that require a more linear grain response. Having this checkbox enabled closely mimics the results of preceding the old Grain node with a Linear to Log conversion and following with a Log to Linear conversion immediately after.
  • Seed
    The Seed slider and Reseed button are presented whenever a Fusion node relies on a random result. Two nodes with the same seed values produce the same random results. Click on the Reseed button to randomly select a new seed value, or adjust the slider to select a new seed value manually.
  • Time
    Lock Enabling Time Lock stops the random seed from generating new grain on every frame.
  • Monochrome
    When the Monochrome checkbox is enabled (default), the grain is applied to the red, green, and blue color channels of the image equally. When deselected, individual control over the Size, Strength, and Roughness of the grain in each channel becomes possible.
  • Lock Size X/Y
    Deselect the Lock Size X/Y checkbox to control the size of the grain along the X- and Y-axis individually.
  • Size
    The grain size is calculated relative to the size of a pixel. Consequently, changing the resolution of the image does not impact the relative appearance of the grain. The default grain size of 1.0 produces grain kernels that cover roughly 2 pixels.
  • Strength
    Grain is expressed as a variation from the original color of a pixel. The stronger the grain’s strength, the wider the possible variation from the original pixel value. For example, given a pixel with an original value of p, and a Grain node with complexity = 1 size = 1; roughness = 0; log processing = off; the grain produces an output value of p +/- strength. In other words, a pixel with a value of 0.5 with a grain strength of 0.02 could end up with a final value between 0.48 and 0.52.

    Once again, that’s a slight oversimplification, especially when the complexity exceeds 1. Enabling the Log Processing checkbox also causes that variation to be affected such that there is less variation in the blacks and more variation in the whites of the image.
  • Roughness
    The Roughness slider applies low frequency variation to give the impression of clumping in the grain. Try setting the roughness to 0, and observe that the grain produced has a very even luminance variation across the whole image. Increase the roughness to 1.0 and observe the presence of “cellular” differences in the luminance variation.
  • Offset
    The Offset control helps to match the intensity of the grain in the deep blacks by offsetting the values before the intensity (strength) of the grain is calculated. So an offset of 0.1 would cause a pixel with a value of 0.1 to receive grain as if its value was 0.2.

Film Grain Node Settings Tab

The Settings tab controls are common to all Film nodes. These common controls are described in detail HERE.

justin_robinson

About the Author

Justin Robinson is a Certified DaVinci Resolve, Fusion & Fairlight instructor who is known for simplifying concepts and techniques for anyone looking to learn any aspect of the video post-production workflow. Justin is the founder of JayAreTV, a training and premade asset website offering affordable and accessible video post-production education. You can follow Justin on Twitter at @JayAreTV YouTube at JayAreTV or Facebook at MrJayAreTV

Get 30+ hr of DaVinci Resolve courses & 200+ pre-made assets

As little as $15/month for all courses and pre-made assets

Similar Posts

Leave a Reply

Your email address will not be published.