[Physics] What determines how much light is reflected and refracted

electromagnetic-radiationreflectionrefraction

I'm currently working on a physics-based puzzle game with light refraction. I've read about the reflection/refraction incidence ratio, and how it's the proportion of the sine values of the angle of incidences.

However, what formula, if there are any, determines the threshold for % of light reflected and % of light refracted?

is the % of light reflected/refracted always either 0% or 100% (that is, they're always either reflected or refracted)? Or is there a curve of some sort for this?

Best Answer

Look here:

http://en.wikipedia.org/wiki/Fresnel_equations

This is for transparent media, the formulas for metals are somewhat more complicated.