Jump to content

Computer Graphics: Difference between revisions

Line 120: Line 120:
{{main | Wikipedia:Shading}}
{{main | Wikipedia:Shading}}
===Flat Shading===
===Flat Shading===
In flat shading, the color is computed for each face.
===Gourard Shading===
===Gourard Shading===
In Gourard shading, the color is computed in the vertex shader so it's computed only for each vertex.
In Gourard shading, the color is computed in the vertex shader so it's computed only for each vertex.