Why is my alpha pass binary (just 0's and 1's) in Cycles?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
6
down vote

favorite












In Blender Render, my rendered alpha pass has intermediate values (e.g., 0.83) at the boundary -- great for anti-aliasing compositing!



enter image description here



However, when I switch to Cycles, my alpha channel is always binary, i.e., consisting of only 0's and 1's.



enter image description here



For some other reasons, I have to stick with Cycles. How would I produce an alpha pass with intermediate values in Cycles?









share|improve this question


















  • 2




    @wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
    – Jaroslav Jerryno Novotny
    Aug 25 at 15:24






  • 1




    @wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
    – Jaroslav Jerryno Novotny
    Aug 25 at 16:10
















up vote
6
down vote

favorite












In Blender Render, my rendered alpha pass has intermediate values (e.g., 0.83) at the boundary -- great for anti-aliasing compositing!



enter image description here



However, when I switch to Cycles, my alpha channel is always binary, i.e., consisting of only 0's and 1's.



enter image description here



For some other reasons, I have to stick with Cycles. How would I produce an alpha pass with intermediate values in Cycles?









share|improve this question


















  • 2




    @wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
    – Jaroslav Jerryno Novotny
    Aug 25 at 15:24






  • 1




    @wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
    – Jaroslav Jerryno Novotny
    Aug 25 at 16:10












up vote
6
down vote

favorite









up vote
6
down vote

favorite











In Blender Render, my rendered alpha pass has intermediate values (e.g., 0.83) at the boundary -- great for anti-aliasing compositing!



enter image description here



However, when I switch to Cycles, my alpha channel is always binary, i.e., consisting of only 0's and 1's.



enter image description here



For some other reasons, I have to stick with Cycles. How would I produce an alpha pass with intermediate values in Cycles?









share|improve this question














In Blender Render, my rendered alpha pass has intermediate values (e.g., 0.83) at the boundary -- great for anti-aliasing compositing!



enter image description here



However, when I switch to Cycles, my alpha channel is always binary, i.e., consisting of only 0's and 1's.



enter image description here



For some other reasons, I have to stick with Cycles. How would I produce an alpha pass with intermediate values in Cycles?











share|improve this question













share|improve this question




share|improve this question








edited Aug 25 at 1:45

























asked Aug 25 at 1:38









Sibbs Gambling

265216




265216







  • 2




    @wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
    – Jaroslav Jerryno Novotny
    Aug 25 at 15:24






  • 1




    @wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
    – Jaroslav Jerryno Novotny
    Aug 25 at 16:10












  • 2




    @wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
    – Jaroslav Jerryno Novotny
    Aug 25 at 15:24






  • 1




    @wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
    – Jaroslav Jerryno Novotny
    Aug 25 at 16:10







2




2




@wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
– Jaroslav Jerryno Novotny
Aug 25 at 15:24




@wizzwizz4 Monochrome is single chroma, single hue in colorspace. The term Binary image is correct here. Binary is subset of Grayscale and that is subset of Monochrome.
– Jaroslav Jerryno Novotny
Aug 25 at 15:24




1




1




@wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
– Jaroslav Jerryno Novotny
Aug 25 at 16:10




@wizzwizz4 Since there is an image showing what it is and there is even explanation in brackets in the title, I fail to see the problem you are trying to solve. At least people will learn what Binary image is. Black&White is used as synonym for Grayscale, it's misleading same as Monochrome was. People not understanding something is normal and does not justify avoiding correct terms, it even might spread confusion. Binary is the best how to call this and there is no problem with it because this is not a casual site, here you will come across many more technical terms.
– Jaroslav Jerryno Novotny
Aug 25 at 16:10










1 Answer
1






active

oldest

votes

















up vote
12
down vote



accepted










You have only 1 sample set for Cycles:



cycles sampling panel showing render samples set to 1



Any particular sample in Cycles will return either 1 or 0 for the alpha channel. Antialiased alpha edges are built up by averaging multiple samples, some of which strike the occluding object and some which do not. Using a larger number of samples, such as 16, will fix the issue.






share|improve this answer




















  • This is cool. But how many samples are enough? Hmmm.
    – Sibbs Gambling
    Aug 25 at 14:35







  • 1




    That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
    – JtheNinja
    Aug 25 at 20:44










  • Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
    – Drudge
    Aug 28 at 19:21










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "502"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fblender.stackexchange.com%2fquestions%2f116850%2fwhy-is-my-alpha-pass-binary-just-0s-and-1s-in-cycles%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
12
down vote



accepted










You have only 1 sample set for Cycles:



cycles sampling panel showing render samples set to 1



Any particular sample in Cycles will return either 1 or 0 for the alpha channel. Antialiased alpha edges are built up by averaging multiple samples, some of which strike the occluding object and some which do not. Using a larger number of samples, such as 16, will fix the issue.






share|improve this answer




















  • This is cool. But how many samples are enough? Hmmm.
    – Sibbs Gambling
    Aug 25 at 14:35







  • 1




    That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
    – JtheNinja
    Aug 25 at 20:44










  • Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
    – Drudge
    Aug 28 at 19:21














up vote
12
down vote



accepted










You have only 1 sample set for Cycles:



cycles sampling panel showing render samples set to 1



Any particular sample in Cycles will return either 1 or 0 for the alpha channel. Antialiased alpha edges are built up by averaging multiple samples, some of which strike the occluding object and some which do not. Using a larger number of samples, such as 16, will fix the issue.






share|improve this answer




















  • This is cool. But how many samples are enough? Hmmm.
    – Sibbs Gambling
    Aug 25 at 14:35







  • 1




    That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
    – JtheNinja
    Aug 25 at 20:44










  • Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
    – Drudge
    Aug 28 at 19:21












up vote
12
down vote



accepted







up vote
12
down vote



accepted






You have only 1 sample set for Cycles:



cycles sampling panel showing render samples set to 1



Any particular sample in Cycles will return either 1 or 0 for the alpha channel. Antialiased alpha edges are built up by averaging multiple samples, some of which strike the occluding object and some which do not. Using a larger number of samples, such as 16, will fix the issue.






share|improve this answer












You have only 1 sample set for Cycles:



cycles sampling panel showing render samples set to 1



Any particular sample in Cycles will return either 1 or 0 for the alpha channel. Antialiased alpha edges are built up by averaging multiple samples, some of which strike the occluding object and some which do not. Using a larger number of samples, such as 16, will fix the issue.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 25 at 5:02









JtheNinja

6,74411532




6,74411532











  • This is cool. But how many samples are enough? Hmmm.
    – Sibbs Gambling
    Aug 25 at 14:35







  • 1




    That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
    – JtheNinja
    Aug 25 at 20:44










  • Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
    – Drudge
    Aug 28 at 19:21
















  • This is cool. But how many samples are enough? Hmmm.
    – Sibbs Gambling
    Aug 25 at 14:35







  • 1




    That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
    – JtheNinja
    Aug 25 at 20:44










  • Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
    – Drudge
    Aug 28 at 19:21















This is cool. But how many samples are enough? Hmmm.
– Sibbs Gambling
Aug 25 at 14:35





This is cool. But how many samples are enough? Hmmm.
– Sibbs Gambling
Aug 25 at 14:35





1




1




That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
– JtheNinja
Aug 25 at 20:44




That's one of those nebulous "it's enough samples when it's good enough for you" things. Technically, any sample count greater than 1 gives some antialiasing. The more samples, the more antialiasing. There's no way to say definitively when it's enough. 10-20 is a nice ballpark in a lot of cases, but who knows? Rendering is complicated.
– JtheNinja
Aug 25 at 20:44












Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
– Drudge
Aug 28 at 19:21




Roughly speaking, ~32 samples will clean up images with only diffuse and no bounce. But usually you'll have much more than that. If you have bounce light, you're looking at ~250 for diffuse to clear up, ~500 for glossy, and anywhere from 1,000-3,000 if you have complex reflections, glass, volumetrics, etc. This can be brought down with certain settings, and the use of the denoiser.
– Drudge
Aug 28 at 19:21

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fblender.stackexchange.com%2fquestions%2f116850%2fwhy-is-my-alpha-pass-binary-just-0s-and-1s-in-cycles%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Carbon dioxide

Why am i infinitely getting the same tweet with the Twitter Search API?