define different material in the same layer for electronics and photonics