@dragonice69 Just some tips: The pointiness value can often replace the dirty vertex option – less steps to go the pointiness route. And you can simply think of it as a black-and-white mask (or factor) for a mix color node or a mix shader node. The same way you’re using the dirty vertex colors in your current node.
Does that help?