Photonic crystal with triangular stack profile