register combiner registers

are in the register combiners the previous colors accessable? i mean the “dst_color” in the blendfunc, the fragment color whatever

and when not, how is it combined with blending?

mark?

The combiners only affect the blending until alphablending is done. This means you can only change the way textures and diffuse colors are blended together.
In detail you have the following :

primary color (thru Vertex)
secondary color (thru vertex)
texture0 color
texture1 color

texture7 color
fog color
constant color
second constant color

Hope this helps.

Lars

No, the destination color is not accessible until the blending stage in the pipeline. The combiners are well before that.

  • Matt

ok, then it is like that:

srccolor = registercombineroperation( primary,secondary,tex0to7,fog,cc0/1);

dstcolor = blendoperation( srccolor, dstcolor );

? like that?

That’s right