View Full Version : register combiner registers
03-18-2001, 07:27 AM
are in the register combiners the previous colors accessable? i mean the "dst_color" in the blendfunc, the fragment color whatever http://www.opengl.org/discussion_boards/ubb/smile.gif
and when not, how is it combined with blending?
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)
second constant color
Hope this helps.
03-18-2001, 03:37 PM
No, the destination color is not accessible until the blending stage in the pipeline. The combiners are well before that.
03-19-2001, 07:05 AM
ok, then it is like that:
srccolor = registercombineroperation( primary,secondary,tex0to7,fog,cc0/1);
dstcolor = blendoperation( srccolor, dstcolor );
? like that?
03-20-2001, 03:07 AM
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.