Skip to content

Commit 4af439a

Browse files
authored
[VE] Fix #192 by exporting RGBA32 instead of RGB24 in Builtin.cs (#193)
1 parent 3aba278 commit 4af439a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VideoExport.Core/ScreenshotPlugins/Builtin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private Texture2D CaptureNormal()
240240
int width = (int)size.x;
241241
int height = (int)size.y;
242242

243-
TextureFormat textureFormat = TextureFormat.RGB24;
243+
TextureFormat textureFormat = TextureFormat.RGBA32;
244244
RenderTextureFormat renderTextureFormat = RenderTextureFormat.ARGB32;
245245
int renderTextureDepth = 0;
246246
#if !HONEYSELECT
@@ -275,7 +275,7 @@ private Texture2D CaptureImmediate()
275275
int width = (int)size.x;
276276
int height = (int)size.y;
277277

278-
TextureFormat textureFormat = TextureFormat.RGB24;
278+
TextureFormat textureFormat = TextureFormat.RGBA32;
279279
#if !HONEYSELECT
280280
if (this._imageFormat == VideoExport.ImgFormat.EXR)
281281
{

0 commit comments

Comments
 (0)