Ozzy
06-03-2002, 09:07 AM
Ok, i would like to use this EXT to make nice vol effects ;)=
But it seems that z values that u're supposed to use as fogCoord per vertex have to be stored in an *already* transformed state. :(
In fact, is there any way to perform the same transformations onto fogCoords as they're done onto vertex?
did i miss anything?
as an example:
when using GL_FOG_COORDINATE_EXT to simulate
GL_FRAGMENT_DEPTH_EXT it should be obvious that fogCoord per vertex is the z value itself? eh?? ;))
But.. maybe the earth is finally flat. ;)
But it seems that z values that u're supposed to use as fogCoord per vertex have to be stored in an *already* transformed state. :(
In fact, is there any way to perform the same transformations onto fogCoords as they're done onto vertex?
did i miss anything?
as an example:
when using GL_FOG_COORDINATE_EXT to simulate
GL_FRAGMENT_DEPTH_EXT it should be obvious that fogCoord per vertex is the z value itself? eh?? ;))
But.. maybe the earth is finally flat. ;)