CG Photography Other Stuff
CG Photography Other Stuff

mib_amb_occlusion Falloff

Jeremy described the mib_amb_occlusion mental ray texture in one of his lectures. He showed us the Falloff parameter, and I wanted to understand better, hence this figure. According to the Occlusion section of mental ray Shader Reference (in Maya Help), Falloff is a power function applied to the normalized distance from 0 to max_distance in the occlusion claculation. I take this to mean that distance_used_in_calculation = d^(1/f), where d = normalized distance, and f = falloff. Whether this formula is exactly right, the general implications of the figure should be correct: that is, falloff < 1 emphasizes shorter distances, while falloff > 1 de-emphasizes them. Falloff = 1 is linear (the distance found is the distance used).