color clambing

after the vertexprogram and before the registercombiners the colors are clambed to 0-1 ( primarycolor/COL0, secondarycolor/COL1 )

now, are they clambed per vertex before the rastericer, or per pixel after the rastericer?

why i ask?
when its after the rastericer clambed per pixel then we can do perpixelattentuation without any use of a texture, else not

per pixel before rasterization.

[This message has been edited by Don’t Disturb (edited 03-25-2001).]

hm… cant be like that, before rasterication we dont have yet something perpixel you mean then pervertex, right?

They are clamped before the combiners, but you can use the expand normal mapping of the combiner inputs, to get something between -1 and 1.