Grain | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Grain

    Film grain is the random optical texture of photographic film due to the presence of small particles of the metallic silver (or dye clouds for colored films) in the film stock.

    The Grain effect is based on a coherent gradient noise. It is commonly used to emulate the apparent imperfections of film and often exaggerated in horror themed games.

    Properties

    Property Function
    Colored Enables the use of colored grain.
    Intensity Grain strength. Higher means more visible grain.
    Size Grain particle size.
    Luminance Contribution Controls the noisiness response curve based on scene luminance. Lower values mean less noise in dark areas.

    Performances

    Disabling Colored will make the effect run faster.

    Requirements

    • Shader Model 3

    See the Graphics Hardware Capabilities and Emulation page for further details and a list of compliant hardware.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023