rayrender icon indicating copy to clipboard operation
rayrender copied to clipboard

Transparent OOB Values

Open brodieG opened this issue 3 years ago • 3 comments

It would be awesome to include an alpha channel in color values (or something like it) such that if a ray comes from e.g. infinity it gets recorded as an alpha value of 0. That way antialiasing will work even when a rendered image is posted on different color backgrounds (e.g. right now I can't make my website darkmode without all the rayrendered images sticking out like sore thumbs because of the white background I blend them into). This might also work with transparent materials so that you can "see" the background through them.

Background here is e.g. the color of the HTML page the rendered images are posted on.

I might be the only person who wants this as one of the few that prefers rendering objects stand alone, but wanted to plant the seed in case this appeals to you, and on the unlikely chance there aren't any obvious dealbreakers to implementing this that I'm not foreseeing.

brodieG avatar Dec 08 '20 18:12 brodieG