Tuesday, July 15, 2008

Sampler Info Usage: Facing Ratio Action Baby

A Poem/Tutorial

  • Create a ramp texture
  • Create a sampler info node
  • MMB+drag sampler info onto ramp – choose other (or shift drag)
  • connect facing ratio to v coordinate (UV coords will be greyed out – no worries – open it anyway)
  • now you frickin gots facing ratio boooooyyyyy (defined as the cosine of the angle between Ray Direction and the Normal Camera or some such nonsense)

This is important because:

Facing Ratio Effects

  • Fuzziness – softness at edges
  • Opalescence – lightness at edges
  • Fresnel – reflectivity at edges