Yeah I don’t really know much about custom HLSL either. I can more or less read what someone else writes, but as for writing my own. Less so. The If statements work. It just feels like there’s probably something already setup that is faster. I don’t really know how efficient ifs are compared to mins and maxes