Files
AEmotionStudio-ComfyUI-Shad…/web/tests
Æmotion StudioandClaude Opus 5 1bd794c353 feat(web): show the shader preview on the Direct node
The preview now attaches to ShaderNoiseKSamplerDirect as well. That node
already exposes every shader control as a real input, so instead of adding a
second, unconnected copy of each widget, the preview mirrors the node's own
inputs into the properties its WebGL uniforms read, and follows them as they
change.

Its four preview-only widgets (Show Shader, Show Tooltips, Animation Speed,
Pixel Resolution) are marked serialize: false there. Saved workflows map widget
values by position, so serializing them would shift every stored input when an
older workflow loads.

The deprecated display node keeps its own widgets and behaviour unchanged.

Also adds vitest coverage for the sampling-mode migration helpers.
Typecheck clean, 91 web tests pass.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 15:52:03 -07:00
..