This is amazing. A few quick questions:
- How are the colors determined?
- Are the colors calculated from the materials/textures of the objects in the scene?
- Can you specify a fixed palette of colors before rendering, so that the colors are "rounded up" to the nearest palette color?
- Does the pixel shading effect appear in the viewport when editing, or only in the final render?
- Is this shader using the Eevee or Cycles render engine?