[osg-users] Fag and Shadows

2010-08-11 Thread Martin Großer
Hello all, I try to implement fog in my scene. It works fine and a was very happy, but after this I would like shadows in my scene and I include a standard shadow map. But my fog doesn't work now. Here my // Shadowed Scene osg::ref_ptrosgShadow::ShadowedScene shadowedScene = new

Re: [osg-users] Fag and Shadows

2010-08-11 Thread Jean-Sébastien Guay
Hello Martin, What can I do to use fog and shadows? As is always the case with shaders, once you start using them you need to replace anything that was previously being done by the fixed pipeline by shaders. The shadow shaders don't do fog so you won't get fog in your scene under the