PDA

View Full Version : Register Combiners and Fog



Korval
05-06-2001, 07:42 PM
I'm wondering: how do you set up register combiners so that it performs the usual fog computations that would happen without combiners?

mcraighead
05-06-2001, 07:44 PM
Use the final combiner's AB+(1-A)C computation, which looks suspiciously like a fog blend. The fog register's alpha becomes the fog factor in the final combiner.

- Matt

Korval
05-06-2001, 10:51 PM
Well, I suppose I could do that if I wanted the right answer. http://www.opengl.org/discussion_boards/ubb/smile.gif

Now I feel like an idiot.