Tag Archives: Blinn Phong

Toon Shading Effect And Simple Contour Detection

Toon Shading or Cel Shading is a render techniques used to simulate hand-drawn cartoons. The most important aspect of this technique is the steep difference between the colors used to render 2D or 3D models. If you want to have an effect like Don’t Starve or Borderlands games you probably want to add contour detection (or edge detection) to…

Read more

Lighting in vertex and fragment shader

In this post, my friend Adrian Visan explained the importance of lighting in a 3D environment and the importance of all lighting model coefficients required to compute the actual light. Here I will talk about Gouraud , Phong and Blinn-Phong lighting models and a brief about multiple light sources, attenuation and gamma correction which are used to implement light…

Read more