miercuri, 15 mai 2013

News about OpenGL 3 the interpolation qualifiers.

OpenGL 3 introduced three interpolation qualifiers.

The qualifiers is used vto modify the storage or behavior of global and locally defined variables.

flat​ - value will not be interpolated.

noperspective​ - value will be linearly interpolated in window-space.

smooth​ - value will be interpolated in a perspective.

Read more and see examples of this three interpolation qualifiers here.