How create custom shader?

Hello everybody. I need create DashDot material and using in Entity material property. How create this?