View Full Version : Fog along Y axis?
03-27-2002, 02:13 PM
is there a way to apply fog along y or x axis not only z axis?
03-27-2002, 04:29 PM
GL_EXT_fog_coord (http://oss.sgi.com/projects/ogl-sample/registry/EXT/fog_coord.txt) can do it. With this, you can specify fog 'depth' values per vertex, these are still transformed through the fog equation to produce fog blending weights. Fairly flexible stuff and supported by a wide range of hardware.
03-28-2002, 06:11 AM
thank you i'll try it. i thought so that it would be natural that depth coordinate would be suitable for fog naturally
03-28-2002, 08:02 AM
To apply "fog" based on window space x/y, try blending with an alpha textured quad.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.