It seems that a .fx file stores shaders among other things in order to achieve a concrete effect (http://www.neatware.com/player/fx.html). You could translate the HLSL shaders contained in that file to a GLSL equivalent with the aid of HLSL2GLSL:
http://sourceforge.net/projects/hlsl2glsl HTH, Alberto El Lunes 02 Julio 2007, [EMAIL PROTECTED] escribió: > I'm non 100% sure, but I think .fx shader language belongs to > Microsoft. > I have some shader .fx that are very realistic and wonderful > and I would like to apply them to some parts of my scene... > > > ---- > Messaggio originale---- > Da: [EMAIL PROTECTED] > Data: 2-lug-2007 > 12.27 > A: "osg users"<[email protected]> > Ogg: Re: [osg-users] > Loading shader .fx > > On 7/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, how can I load shaders with .fx extension? > > The OSG core doesn't > support .fx shaders. > > I'm not 100% sure what .fx shaders exactly entail > so I did a quick > search on .fx shaders on the net and got lots of links > that aren't > particularly useful. Is it part of Nidia's Cg, part of > Direct3D? > > Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
