What formula, if any, determines the threshold for the reflection/refraction incidence ratio in a physics-based puzzle game with light refraction?