Jump to content


.FX Files to HLSL


2 replies to this topic

#1 Wraiyth

    New Member

  • Members
  • Pip
  • 3 posts

Posted 24 October 2005 - 02:08 AM

I've been wanting to do some shader development for HL2 with a few simple post-processing shaders. I got a copy of the nVidia SDK which has a heap of good one, but I cannot get FX Composer to work on my computer at all. Is there any way that I can export the .FX files to HLSL shaders without using FX Composer?

#2 roel

    Senior Member

  • Members
  • PipPipPipPip
  • 697 posts

Posted 24 October 2005 - 09:49 AM

I think that you should do it manually, as .fx files contain hlsl code with just some additional information. That means that you'll loose information by going from .fx to hlsl, and i don't think that a machine can judge to discard things.

Did you try ati's rendermonkey btw?

#3 Reedbeta

    DevMaster Staff

  • Administrators
  • 4979 posts
  • LocationBellevue, WA

Posted 24 October 2005 - 05:22 PM

More specifically, .fx files contain information about techniques and passes that you'll have to implement at the application level (rather than in shaders).
reedbeta.com - developer blog, OpenGL demos, and other projects





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users