well, i think the best way is to use the dirtmap is connecting to the out color node of a surfaceShader, that way you can have a true occlusion pass