Move @Silliana's notes from #1896 and #1897 into docs/shader_inputs.md,
checked against the ten postfx_aces bakes and the sky_scattering /
scattering_transmittance_system passes (offsets and counts only).
- ACES: the quasi-log addressing holds in all four QuasiLog bakes. The
RRT spline is a constant table in the program, not an input. The
tone-curve spline at +0x00 is in reference c9 order. Only the
TonemapOnly bakes' second spline at +0x70 is points-first, and +0x118
picks between the two. +0x13C selects per-channel vs luminance mode.
It does not switch the curve off.
- Sky: Transmittance, then MultipleScattering (samples one table), then
SkyAtmosphereLUT / SkyView (sample two). The +0xD0 dword in SkyView and
MultipleScattering picks RGB9E5-packed or float output descriptors.
It does not skip the stores.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/shader_inputs.md lists what PS_STUDIOSHOT_PBR_MATERIAL_STANDARD_LIGHTING
needs from its inputs, as a first check for a dark frame or a device-lost:
the 512-byte light records, the fixed eight-light loop, the plane count in
the top byte of +0x4C, the profile table's intensity skip and the shadow
strength byte at +0x73. Reported by @Silliana in #1892; offsets confirmed
against the shader, with two corrections to #1892 (the count is at +0x4C,
and the +0x40 low-24-bit test disables one factor, not the light).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>