How to get DPI scaling in material

Did you ever figure this out?