I've been looking at the fog support on Radeon hardware (by way of {r200,radeon}_reg.h). I've come to the conclusion that EXT_fog_coord is supported on that hardware by way of the alpha component of the secondary / specular color.
I've done some experiments, and I *believe* that this only works when the secondary color uses a float format. The gotcha with this is that neither the R100 or the R200 driver seem to support a float-format secondary color (I haven't looked at that part of the R200 driver that closely, so I may be wrong). It would be easy enough to determine that the float-format should be used, however. If I'm not mistaken, it would only be used if FOG_COORDINATE_SOURCE_EXT == FOG_COORDINATE_SOURCE_EXT. Is adding support for float-format secondary color already on anybody's todo list? I don't want to work on something that somebody else is already working on... -- Smile! http://antwrp.gsfc.nasa.gov/apod/ap990315.html ------------------------------------------------------- This sf.net email is sponsored by: Battle your brains against the best in the Thawte Crypto Challenge. Be the first to crack the code - register now: http://www.gothawte.com/rd521.html _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel