Yeah I strugged with the making a cmyk simulator to but I stumb across this tutorial on reddit by Gwirk
He went through the process on how to make a half-tone
It pretty much goes like this
Step 1: Offset each color value by -1
generate your color negative channels
this will invert it the color and give us the cyan ,magenta ,yellow color we need
The problem now is that we have the black data mix up with the color data
Step 2: Grab the min value of all the color channel
generate your K/black channel
this will be your K or black value ,and will also help in removing the black data from your color info
K = min(R 1 ,G 1 ,B 1 )
generate your K/black negative channel:
This is the same operation as in step 1 but instead you'll be substituting color with K
K 1 = K - 1
Step 3: Remove the black from the color channel
You'll have to offset the color channel by your black channel
you're just subtracting K from your colors
R 2=R 1- K
B 2=B 1- K
G 2=G 1- K
Then divide by your black negative channel
R 3=R 2/ K1
B 3=B 2/ K1
G 3=G 2/ K1
The next part is to convert it back to rgb
This this simpler as you’re just undoing the conversion you did in the previous section
Just multiply your color channel by a negative version of the black channel
and then add back the black channel you removed
don't forget to undo the offsetting you done to each color channel
sorry about the small image
here's a colored aided
all that's left is to plugin halftone shader of choice.
this part is a creative step so I'm not going to describe. how to do just going to link to a bunch of halftone shader tutorials instead
https://www.youtube.com/watch?v=li2mSnKY194
https://www.youtube.com/watch?v=vnLJmqiBDXI
https://www.youtube.com/watch?v=KjQ37vFLotk
https://www.youtube.com/watch?v=Go8ivK00Y-A
https://www.youtube.com/watch?v=Z-1w4pYdUNQ
https://www.youtube.com/watch?v=dRP1DqShceM
half - tone generator by the original poster of the tutorial on reddit
down below is a article that explains everything better than I can
https://bensimonds.com/2013/02/14/halftone-shader/