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 ShadowedScene unless you replace the shaders (which are being set by the ShadowTechnique, in your case StandardShadowMap) by shaders that do both shadows and fog (and any other effects you need).

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to