diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-10 21:22:44 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-10 21:22:44 +0100 |
| commit | c6b70419010164539a8f41ad9d8ad70bd5b6ea4b (patch) | |
| tree | 0f0b0e42ad4a721ad8bbd5f8f73dfbc8d7db31a8 /workspaces/test/assets/music/KICK_606.spec | |
| parent | b25132133590e39967ebd0f3205123ee6628674b (diff) | |
fix: Correct UV coordinate computation to match PyTorch linspace
Critical mismatch: shader used pixel-center coordinates while PyTorch
uses pixel-corner coordinates, causing 0.5-pixel offset.
PyTorch: linspace(0, 1, H) → [0, 1/(H-1), ..., 1]
Shader: (p.xy - 0.5) / (resolution - 1.0) to match
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'workspaces/test/assets/music/KICK_606.spec')
0 files changed, 0 insertions, 0 deletions
