-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] wrote:
> I'm non 100% sure, but I think .fx shader language belongs to 
> Microsoft.

The file with extension .fx could contain anything. It is probably a
fragment shader, but you need to determine the language it is written in.

If it is HLSL (high level shading language, developed by MS), then it
should be quite easy to translate to standard GLSL which works with
OpenGL and OSG. The code is very similar.

If it is Nvidia's Cg, then you will need to rewrite it, Cg is
non-standard and not supported.

It could be even written in shader assembly language if it is something
older. Then it pretty much depends on what it is and for which hardware.

Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFGiOczn11XseNj94gRAkQzAJ9FklZEU5Zewk7+wUIhmWhOOK9wxQCg6qpN
hhd2Nt1qYSLWvcJkXcMT71Y=
=dNA3
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to