I'm using a primitive wrangle to decide the brick color of each building. I already have a random value (0 to 1) for each building.
Now, I would like to have 0 to 0.33 to be color A, .33 to .66 to be color B, etc. I've done this befor using an IF satement per color but I hate the idea of needing to add if statements every time I add another color.
Is there an efficient way to simply have a bunch of colors swatches and an integer channel to tell how many colors i'm selecting from without having a bunch of IF statements?
Ha, I'll argue that adding points on a colour ramp is faster and easier than sample_discrete. Tried attrib randomise in discrete mode, but there's no built-in option for discrete colours, just floats or strings.