mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
Both pages explained intensity's independence by saying details and effects are applied after the u_intensity mix. The conclusion was right but the mechanism was wrong for several families. Verified in the shader: applyCrtWarp runs on the uv before sampling; sampleMedia itself carries pixelate, chromaBleed and the tape family; sampleChromaticMedia and applyDigitalGlitch shape sampleColor — all before the mix at runtime/colorGrading.ts:1234. Only grain, filmArtifacts, monoScreen, engraving, crosshatch, halftone, twoInkPrint, bloom, scanlines and vignette run after it. Pre-mix effects are already present on both sides of mix(sampleColor.rgb, applyColorGrade(sampleColor.rgb), u_intensity), so intensity does not scale them either. Both pages now say details and effects sit outside the mix — some before, some after — without making the ordering the reason. Reported by miguel-heygen. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>