How to use use Red Channel of 1 image as Transparency Channel of 2 image #1957
-
|
I have to images: |
Beta Was this translation helpful? Give feedback.
Answered by
dlemstra
Jan 25, 2026
Replies: 2 comments 2 replies
-
|
Can you share your images so I can better understand what you are trying to do? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
You can do this: using var baseColor = new MagickImage("Texture_BaseColor.jpg");
using var opacity = new MagickImage("Texture_Opacity.jpg");
baseColor.Composite(opacity, CompositeOperator.CopyAlpha);
baseColor.Write("Texture_Albedo.png"); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LagowiecDev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


You can do this: