This is arguably a bit anal, but if you want to optimise that, instead of normalising each color, which involves an expensive square root (which gets canceled out anyway, when you square the final result), you can do: VertexColor.rgb / r*r + b*b + g*g Or for a more compact node tree: dot(VertexColor.rgb, VertexColor.rgb)…