The posterize node limits the number of colors per channel.
This is useful to generate masks or to generate stylized images
Both the tiled and full-frame implementation are included in this patch
Differential D12304
Compositor: New Posterize Node Authored by Aaron Carlisle (Blendify) on Aug 23 2021, 8:21 PM. Tags Subscribers None Tokens
Details The posterize node limits the number of colors per channel. Both the tiled and full-frame implementation are included in this patch
Diff Detail
Event TimelineComment Actions If steps mean levels or percents, it may be more intuitive to posterize as steps increase just plugging the node it's full posterize. If it's by number of colors it's fine then. If an artist want to give feedback, it's very welcomed. I wonder if it could be useful to make the steps a socket to posterize with masks.
Comment Actions The code looks good to me, but wait for Jeroen to have a look too.
Comment Actions Based on other compositing pipelines and image editors this is a standard operation so I don't see any reason not to include it. It's also nice that non technical users don't have to use math nodes. I still want to investigate making the step size a float to see if that might be more artist friendly.
Comment Actions LGTM. I can see it be useful for mask extractions, but in that specific case a math operation would be useful. Comment Actions So based on some experiments, I found using a float input to be much more customizable, I will update this catch where the steps is exposed as a float input. Comment Actions
Comment Actions I have made quite a few changes to both the node and UX by changing the steps to a float and exposing it as a socket. Comment Actions Yes, to me this is better for user, they can use masks and have more fine control.
| ||||||||||||||||||||||||||||||||||