Roland Scheidegger wrote: > On 16.06.2008 18:17, H. Verbeet wrote: >> 2008/6/16 Brian Paul <[EMAIL PROTECTED]>: >>> H. Verbeet wrote: >>>> ------------------------------------------------------------------------ >>>> >>>> Vertex programs replace fog coord generation, but not vertex fog >>>> application. This also means the fog stage should be run after the vertex >>>> program stage. >>> Hmmm, can you point me to where this is stated in the vertex program >>> extension spec? I don't recall seeing this before. >>> >> Although it doesn't explicitly say vertex programs don't replace >> vertex fog application, it's implied by the following parts of the >> spec: >>From this also follows that it's not possible to use per-vertex fog when > using fragment programs (or shaders) - or rather mesa's implementation > doesn't really allow it (since it would overwrite the fogcoord with fog > factors, but fogcoord might still be accessed freely in a fragment > program). Maybe that's only of academic interest though and noone really > abuses fogcoord like that :-).
Yeah, I'd expect one would be using per-fragment fog in this day and age in any case. -Brian ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
