PDA

View Full Version : Stipple & Fog



Sagaceil
02-02-2011, 01:10 PM
Hello every one!

While testing my game by some players they noticed strange behavior of showing models and the fog effect. It seems to be some conflict with glEnable( GL_POLYGON_STIPPLE ) and the build in pipe-line fog. Stipple looks good enought to make a 1 second blend and it doesn't make some wierd things like semi transparent geomtery with triangles mixed with wrong depth testing ( known blend issue ), whats more, stipple is independent with all other ogl staes ( blend, alpha test , even shaders ). But whats the problem ? On some cards ( usually ATI ), peoplen noticed turning fog off while stipple work.

example :

http://img638.imageshack.us/img638/21/sagaceilaqqeu2011020213.jpg

And I have no idea whats goes wrong.
Thanks for any help.

V-man
02-02-2011, 03:24 PM
Sounds like a difference in implementations. Possibly a bug. Polygon stipple is deprecated since it is not a hw feature. Emulate it with shaders if you can.