Glad to help. The OpenGL drivers underneath OSG support different fog functions but only one can be selected at a time. If you need a different fog effect other than the "canned" fog functions in OpenGL, you can always write a shader...:)
-Shayne -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Allen Saucier Sent: Monday, April 13, 2009 9:17 AM To: [email protected] Subject: Re: [osg-users] FOG: applying both kinds at the same time. How? Thxs guys! I never knew that the Linear & Exponential fog were mutually exclusive. [Idea] But that explains why when I attempt to have both types of fog w/in the same state only the last fog type enabled is used. I was thinking about applying the fog types to 2 different matrices and putting those matrices, one after the other, into the scene but this info saves me some time & effort. Thx Shayne! :) ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10165#10165 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

