docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConfigureFilmGrain

    ConfigureFilmGrain(PostProcessData, FilmGrain, int, int, Material)

    Configures the Film grain shader parameters.

    Declaration
    public static void ConfigureFilmGrain(PostProcessData data, FilmGrain settings, int cameraPixelWidth, int cameraPixelHeight, Material material)
    Parameters
    Type Name Description
    PostProcessData data

    The PostProcessData resources to use.

    FilmGrain settings

    The Film Grain settings.

    int cameraPixelWidth

    The camera pixel width.

    int cameraPixelHeight

    The camera pixel height.

    Material material

    The material used with the dithering effect.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)