Sign in to follow this  
mlt

Per-vertex shading and interpolation

Recommended Posts

With Per-vertex shading/Gouraud shading each pixels intensity gets an interpolated intensity based on the intensity of each of the 3 vertices in a triangle. In the Cg-toolkit there is a vertex program for per-vertex shading. But since this program is run for each vertex I assume that the interpolation does not appear in the vertex program. But where is the interpolation executed - in the rasterizer (which is currently not high-level programmable)?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this