@pmndrs/reflections
    Preparing search index...

    Function halfResolutionClipTransform

    • The clip-space affine (column-major 4x4) that maps the full-res projection to the half-res frame's: half texel x's centre ((x + 0.5) / ceil(w/2) in uv) lands on full-res pixel 2x's centre ((2x + 0.5) / w). For an even width it is a shift by half a full-res pixel; for an odd one a scale by w / (2 ceil(w/2)) too.

      Parameters

      • width: number
      • height: number

      Returns Float32Array