From 922136b30d6f1aa78fbeb6f15716236e9946beea Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 22 Nov 2020 17:43:07 +0100 Subject: [PATCH] Document that WebM videos don't support the alpha channel (cherry picked from commit 1a616726cf1e47f0d94296099890bd3997b44f4d) --- modules/webm/doc_classes/VideoStreamWebm.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/webm/doc_classes/VideoStreamWebm.xml b/modules/webm/doc_classes/VideoStreamWebm.xml index 87111f79f5c..b096f3b76b8 100644 --- a/modules/webm/doc_classes/VideoStreamWebm.xml +++ b/modules/webm/doc_classes/VideoStreamWebm.xml @@ -5,6 +5,7 @@ [VideoStream] resource handling the [url=https://www.webmproject.org/]WebM[/url] video format with [code].webm[/code] extension. Both the VP8 and VP9 codecs are supported. The VP8 and VP9 codecs are more efficient than [VideoStreamTheora], but they require more CPU resources to decode (especially VP9). Both the VP8 and VP9 codecs are decoded on the CPU. + [b]Note:[/b] Alpha channel (also known as transparency) is not supported. The video will always appear to have a black background, even if it originally contains an alpha channel. [b]Note:[/b] There are known bugs and performance issues with WebM video playback in Godot. If you run into problems, try using the Ogg Theora format instead: [VideoStreamTheora]