View Full Version : Pixel Shaders & Fog
Puzzler183
2005.04.11, 03:12 PM
I just need someone to confirm/deny this for OpenGL: fog (like in the fixed funciton pipeline) is still applied after pixel shaders in OpenGL.
The DirectX pipeline I know works this way and I need to make sure before I write any code for my project.
OneSadCookie
2005.04.11, 05:09 PM
http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program.txt
issue 13.
Puzzler183
2005.04.11, 05:34 PM
Hmm.... That's aggravating... Completely different in DirectX...
Puzzler183
2005.04.11, 05:38 PM
Well, I guess this is good actually since even in DirectX, fog is supposed to be done in pixel shaders for version 3.0 and above...
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/Programmable/IntegrationPixelShaders.asp
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.