Skip to content

Commit

Permalink
[Unity] Don't send Alpha channel in image
Browse files Browse the repository at this point in the history
Maintain consistency with Unreal
  • Loading branch information
rajat2004 committed Jul 25, 2020
1 parent cbc3cc7 commit 548dbdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private List<byte> GetFrameData(ImageType type, bool isCompress) {
frameData.Add(c.r);
frameData.Add(c.g);
frameData.Add(c.b);
frameData.Add(c.a);
// frameData.Add(c.a); // Unreal is just sending RGB images, so don't include Alpha channel here
}
}
RenderTexture.active = null;
Expand Down

0 comments on commit 548dbdd

Please sign in to comment.