The angles used for each facet play a crucial role in the outcome of a gem. While the general facet arrangement of a particular gemstone cut may appear the same in any given gem material, the angles of each facet must be carefully adjusted to maximize the optical performance. The angles used will vary based on the refractive index of the gem material. When light passes through a gemstone and strikes a polished facet, the minimum angle possible for the facet to reflect the light back into the gemstone is called the critical angle. If the ray of light strikes a surface lower than this angle, it will leave the gem material instead of reflecting through the gem as brilliance. These lost light rays are sometimes referred to as "light leakage", and the effect caused by it is called "windowing" as the area will appear transparent and without brilliance. This is especially common in poorly cut commercial gemstones.  Gemstones with higher refractive indexes generally make more desirable gemstones, the critical angle decreases as refractive indices increase, allowing for greater internal reflections as the light is less likely to escape.