Repository navigation
v2.2.1
Added
- Configurable preview viewport background, completing the item deferred from Phase v2.1.0's alpha-channel export work: a "Preview background" panel section offers a transparent checkerboard (default), a solid color, or a reference image, so a shader exporting with a straight alpha channel can be visually checked against something other than the fixed opaque viewport background. New
Videotoy.Media.ViewportBackgroundSettingsServicepersists the choice globally (%AppData%\Videotoy\viewport-background.json), mirroringOnboardingStateService's storage pattern. Purely a live-preview visualization aid — the exported file always uses the shader's rendered alpha as-is, unaffected by this setting - Implemented entirely in XAML: three background layers (a tiled
DrawingBrushcheckerboard, a bindableSolidColorBrush, or anImagebound to the chosen reference image) stacked behind the existing previewImage, which is alreadyBgra32with real per-pixel alpha — WPF's normal compositing handles the blend, so no change was needed to the D3D11 render pipeline orMultiPassRenderer
Full Changelog: v2.2.0...v2.2.1