Open LazyCuteLion opened 4 months ago
on the last point, some progress has been made: ShaderCompiler line-366 add "color.rgb *= color.a;"
WinUI3 has some progress: use WinUIEx,set the Window.SystemBackdrop to TransparentTintBackdrop, and change the line-157 of Renderer.SwapChain.cs(set alpha to true of GetSwapChainDesc).Then,it renderering as same of WPF,but,it can't be mouse through. I think,the FlyleafHost(WinUI3) should be change as same of WPF,use a Window host the SwapChainPanel. Do you have any time to try it? @SuRGeoNix
Not really, maybe in 1-2 weeks... I'm trying to release v3.8 with updated vortice/custom generator-ffmpeg libraries and some other libs that will be the entry level for v4.
Ok.But I really want it can support alpha. Look forward to your new version.
1、FlyleafHost line-880,change the border.background to #01000000 2、Renderer.PixelShader line-560 cancel this line,does not use BlendState(if you did not do it,then you will got repetitive frame of the video) 3、Renderer.Present line-126 and 247 cancel these two line, does not use ClearRenderTargetView,beacuse of it will ignore the A of the second parameters(even it is Color4) and give a solid color. 4、there have a apng to test,you also can converter to a mov 5、this has some flaws,there are burrs on the edges (same video,ffmediaelement rendering good). hope someone can fix it.