docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field samplesPerPixel

    Number of rays used to calculate the occlusion value for each pixel in the rendered image.

    Namespace: UnityEditor.PixyzPlugin4Unity.Actions
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    [UserParameter(null, null, "Number of rays used to calculate the occlusion value for each pixel in the rendered image. Increasing this value will improve the quality and accuracy of the ambient occlusion effect by providing more detailed and smoother maps of shadows and shading, reducing the need for a denoiser. However, higher samples per pixel lead to longer processing times.", "Samples per pixel", false, false)]
    public BakeAmbientOcclusion.SamplesPerPixel samplesPerPixel
    Returns
    Type Description
    BakeAmbientOcclusion.SamplesPerPixel
    In This Article
    Back to top
    Copyright © 2025 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)