@pmndrs/reflections
    Preparing search index...

    Function resolveScreenSpaceSettings

    • The settings a dispatch runs with: every W76 default resolved (W76, docs/SETTINGS.md "What changes when ray tracing is on"). An explicit value always wins.

      • hitColorFilter DEFAULT_HIT_COLOR_FILTER.
      • mirrorBias and mirrorBiasCompensate as a pair: both unset -> compensation on at DEFAULT_COMPENSATED_MIRROR_BIAS (with the cone; else bias 0). mirrorBias set alone -> compensation off (D49's truncation, its pre-W76 meaning). mirrorBiasCompensate set alone -> that, with the bias at 0.5 when compensating, else 0. A bias of 0 is never compensated (mirrorBiasSplit).
      • With missesTraced (ray tracing on), the thickness fields as a pair: both unset -> 'relative' at RT_THICKNESS_DEPTH_FACTOR; thicknessDepthFactor set alone -> 'add' (its pre-W76 meaning); thicknessDepthMode: 'relative' alone -> that at 0.02; thicknessDepthMode: 'add' alone -> factor 0. So thicknessDepthMode: 'add' or thicknessDepthFactor: 0 alone gives the pre-W76 thickness. Idempotent; the dispatch calls it, and outputs.settings holds what the frame actually ran.

      Type Parameters

      Parameters

      • s: T

      Returns T