0
$\begingroup$

In the Shader Editor, I can create an RGB node and in there, I can set an alpha value as displayed in this screenshot:

Setting alpha value in an RGB node

However, no color separation node in blender supports extracting that value and no combine node accepts it as input either.

Is there any way to separate an alpha value from a color, or to combine it into a color using only nodes in the Shader Editor?

$\endgroup$
  • $\begingroup$ Alpha is just a value, what is the need to extract it from a RGB input? $\endgroup$ – lemon Aug 8 at 9:16
  • $\begingroup$ If that works, you would only need one connection to transfer color and alpha value to another node. This would result in a cleaner node graph with less connections. Otherwise, you would always need to change 2 connections (color and alpha), though there are use-cases where both go along almost all the time (when working with RGBA images for example). I could separate the alpha in my custom group for example, to blend two textures and then you dont need to separate alpha inputs. That makes more sense to me because whenever I change the color input I would change the alpha value as well. $\endgroup$ – narranoid Aug 8 at 9:21
  • $\begingroup$ If you find that important, could try to ping the dev on this subject eventually: wiki.blender.org/wiki/User:OmarSquircleArt/GSoC2019/Proposal $\endgroup$ – lemon Aug 8 at 9:30
  • $\begingroup$ I'll check that out, thanks. It just felt very weird to me, that we have 4 dimensional colors passed along in the Shader Editor, but the 4th value is for no use at all. If we could have an alpha output on SeparateRGB, that could be very nice I think. $\endgroup$ – narranoid Aug 8 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.