Archived

This topic is now archived and is closed to further replies.

exa_einstein

FOG(normal+volumetric)

Recommended Posts

exa_einstein    122
problem. I love fog. Standart OGL fog was too simple for me much earlier than before a year. I have found GL_EXT_fog_coords. That was coool. but now I have problem: How can I render BOTH of fogs in ONE pass of rendering and WITHOUT anything like vertex/fragment shader (lots of cards don''t support that.especially that mine.) (problem is about that in my engine I need some volumetric fog support, but I also need normal z-fog, because I need to render VERY LARGE landscape(!NOT HEIGHTMAP!)) please help thanks exa_einstein HEEEEELLLLP! ...::why don''t we have assembler forum?::...

Share this post


Link to post
Share on other sites
MazyNoc    122
when you use the fogcoord extension you have to do all fog calculations yourself. so to combine them in one pass is ''just'' to add the depthfog to the already calculated volumefog.

Share this post


Link to post
Share on other sites