diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-17 13:24:56 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-17 13:24:56 +0100 |
| commit | e3f0b002c0998c8553e782273b254869107ffc0f (patch) | |
| tree | e1e5f8a6c5d119e7764d8d7a43b43bc0c65f4e78 /common/shaders | |
| parent | bdb1a4e95a545f3f4d88630b8aec6ab771776d99 (diff) | |
feat(uniforms): Add noise field with per-frame random values
Replace _pad with noise field in UniformsSequenceParams, providing
effects with non-deterministic random values [0..1] updated each frame.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'common/shaders')
| -rw-r--r-- | common/shaders/sequence_uniforms.wgsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/shaders/sequence_uniforms.wgsl b/common/shaders/sequence_uniforms.wgsl index be47ad9..290f89b 100644 --- a/common/shaders/sequence_uniforms.wgsl +++ b/common/shaders/sequence_uniforms.wgsl @@ -8,5 +8,5 @@ struct UniformsSequenceParams { beat_time: f32, beat_phase: f32, audio_intensity: f32, - _pad: f32, + noise: f32, }; |
