docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPathtracingParameters

    SetPathtracingParameters(uint, uint, uint, float)

    Defines the number of rays, bounces, and intensity cap when defining the color of a pixel.

    Declaration
    public void SetPathtracingParameters(uint maximumSamples, uint minimumDepth, uint maximumDepth, float maximumIntensity)
    Parameters
    Type Name Description
    uint maximumSamples

    The number of rays that should be cast.

    uint minimumDepth

    Minimal amount of bounces a ray should do before stopping.

    uint maximumDepth

    Maximal amount of bounces a ray should do before stopping.

    float maximumIntensity

    Maximal intensity of a pixel.

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