-1

The gouraud-shader computes lighting at the corners of each triangle and linearly interpolates the resulting colours for each pixel covered by the triangle.

How would you program this certain interpolation (in GLSL-code) ?

Do you even have to code this yourself or does OpenGL interpolate (internally) single-handedly ?

4

1 回答 1

3
于 2016-09-17T15:00:45.663 回答