Previous | Next --- Slide 10 of 54
Back to Lecture Thumbnails
sam

Can someone tell what does the surface characteristics mean in Fragment Processing ?

Zarathustra

@sam That is most likely referring to per-fragment shaders which interact with the diffuse and specular color components defined at the vertices of an object (at least in Open GL) to produce the final color for that fragment. Take a look at this image - the only difference between them is the per-fragment shader.

http://i.imgur.com/av8XLij.jpg

kayvonf

By "surface characteristics" I was talking about the appearance of the surface at that pixel. The job of the fragment shader is to perform computations that simulate how much light reflects off the surface point that is visible in the pixel and reflects towards the virtual camera. For example, a dark surface is dark because it reflects less light. A red surface appears red because it reflects red light.