docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPCSSParams

    SetPCSSParams(int, int, float, float)

    Set parameters for PCSS shadows.

    Declaration
    public void SetPCSSParams(int blockerSampleCount = 16, int filterSampleCount = 24, float minFilterSize = 0.01, float radiusScaleForSoftness = 1)
    Parameters
    Type Name Description
    int blockerSampleCount

    Number of samples used to detect blockers

    int filterSampleCount

    Number of samples used to filter the shadow map

    float minFilterSize

    Minimum filter intensity

    float radiusScaleForSoftness

    Scale applied to shape radius or angular diameter in the softness calculations.

    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)