What is wrong with my specular phong shading
- by Thijser
I'm sorry if this should be placed on stackoverflow instead however seeing as this is graphics related I was hoping you guys could help me:
I'm attempting to write a phong shader and currently working on the specular. I came acros the following formula: base*pow(dot(V,R),shininess) and attempted to implement it (V is the posion of the viewer and R…