Derivatives Summary
R,G,B, A (Gouraud Shading, GL_SMOOTH)
- dr/dx,dr/dy, dg/dx,dg/dy, db/dx,db/dy, da/dx,da/dy
- dr/dscan, dg/dscan, db/dscan, da/dscan
S,T (Texture coordinates)
- ds/dx,ds/dy, ds/dscan, dt/dx,dt/dy, dt/dscan
Each time Y is incremented, we increment by appropriate d?/dscan . Each time X is incremented, we increment by appropriate d?/dx.