Specular Reflection

From CGAFaq

Jump to: navigation, search

A vector v is reflected from a plane with normal n with:

using the configuration from this image:

Image:Reflection.png


Deriving the reflection formula

Referring to the image above, we first project v to n with

Then define

Clearly

Personal tools