custom primitive color interpolation
Posted on 2004-04-13
using winXp, VB.NET, VS2003, .NET 1.1, DX9
Currently, using a positioncolorednormal vertex scheme, I color each of the three verticies in a triangle different colors and directX will linearly interpolate those colors. I would like to specify a different interpolation scheme, say exponential decay or logarithmic. Is this what a shader language is for, and if so where do I get started. Also, in order to code the interpolation, I would need access to data not solely in the graphics pipeline, but in the program's classes. Any ideas.