diff options
| author | NiiRoZz <simonin.remi25@gmail.com> | 2026-11-22 20:33:15 +0100 |
|---|---|---|
| committer | NiiRoZz <simonin.remi25@gmail.com> | 2026-11-22 21:04:16 +0100 |
| commit | 330f0d301365dde152028782ca66a3d2bd906aa2 (patch) | |
| tree | fabe7890b4266494b37067f00580fa1de6c0050b /runtime/test/gameinput_test.cpp | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
PROC-147: document the studio-shot lighting shader's inputs
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>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions