Lead Dev MP2
- March 24, 2007
MP2 does currently support shaders to post process video while playback.
The WPF UIElement specifies a Effect property to allow modifications for rendering (see UIElement.Effect Property (System.Windows)).
My goal is to:
- use the existing partial video rendering effects (see https://forum.team-mediaportal.com/submit-code-patches-533/more-shader-effects-97717/)
- use the other effects found in SkinEngine / shaders folder (blur, dialogbg, greyscale...)
Part 2 is under work, but I already get outputs.
To use some of the effects it would be required to pass the complete backbuffer to the shader for processing. My idea for this problem: implement a custom Control like "BackgroundCapture" that is able to use the backbuffer texture within it's dimension on screen.
The development is done in "Effects" branch in GIT.
I've made quite big progress in implementing more Effects and making them more configurable from xaml screens. This allows animations (see screenshots).
Also I implemented a new user control "BackgroundCapture" that is able to apply Effects to the current background (see dialog example )