OneLastMidnight
New Member
Hello,
I have a WPF application with the background and window set to transparent, but the Window Capture source will not render the application. If I set the AllowsTransparency window property to false the application renders correctly.
I have tried to use the Game Capture source which allows for transparency, but regardless, that specific source will not render the application, or any other application for that matter - tried Outlook, Notepad, etc.
I don't know if this is a defect or intended functionality, but allowing WPF transparent windows to render would be very helpful for my needs.
Is there anyway you can help me?
Here is a test XAML, and the issue is easy to reproduce.
1. Create WPF application.
2. Add Background="Transparent" WindowStyle="None" AllowsTransparency="True" to the Window tag.
3. Replace grid with...
<Grid>
<Label Content="Hello World!" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="48" Margin="265,172,0,0"/>
</Grid>
4. Add Window Capture Source in OBS and point to running WPF application - app will not render.
5. Change AllowsTransparency to False - app will render.
Thank you for your help!
Cheers,
OneLastMidnight
I have a WPF application with the background and window set to transparent, but the Window Capture source will not render the application. If I set the AllowsTransparency window property to false the application renders correctly.
I have tried to use the Game Capture source which allows for transparency, but regardless, that specific source will not render the application, or any other application for that matter - tried Outlook, Notepad, etc.
I don't know if this is a defect or intended functionality, but allowing WPF transparent windows to render would be very helpful for my needs.
Is there anyway you can help me?
Here is a test XAML, and the issue is easy to reproduce.
1. Create WPF application.
2. Add Background="Transparent" WindowStyle="None" AllowsTransparency="True" to the Window tag.
3. Replace grid with...
<Grid>
<Label Content="Hello World!" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="48" Margin="265,172,0,0"/>
</Grid>
4. Add Window Capture Source in OBS and point to running WPF application - app will not render.
5. Change AllowsTransparency to False - app will render.
Thank you for your help!
Cheers,
OneLastMidnight