Write my own shader??? ha, ha,ha, ha ... that's a good one.  What's a shader? 
[Embarassed]

really, I've NO idea how to write one so the canned versions, I'll make do with.

Thx...


Tueller,  Shayne R Civ... wrote:
> 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: 
> [mailto:] On Behalf Of Allen
> Saucier
> Sent: Monday, April 13, 2009 9:17 AM
> To: 
> Subject: Re:  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
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------------
----
Allen

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10173#10173





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to