Jump to content
  • Advertisement
Sign in to follow this  
x_igor_x

Effect Files (.fx)

This topic is 4811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here's the same question asked three times: -There's a lot of older graphic cards out there, so i want to now can i safely use .fx files in my engine as material definition files, and be sure it will work on older cards? -Does effect files works with older graphics cards that do not support shaders? -Is it possible to define a technique in .fx file that do not use shaders?

Share this post


Link to post
Share on other sites
Advertisement
FX files can be used with older graphics card.

FX files will work with graphics cards that do not support shaders.

FX files can define techniques which do not use shaders - i.e. use fixed function states.

What matters is that your user has new *drivers* which support DirectX 9.0c and a decent FX framework. Apart from that, using FX files is a great way to provide good, customised support for a wide variety of hardware.

-Mezz

Share this post


Link to post
Share on other sites
.fx Files enable HLSL if they do not support that .. your shader will not appear on your meshes. Just put a catch in your application to check for the ability to use HLSL shaders if they dont have it just dont pass the effects thru and just render the meshes .. and use some other type of lighting on the objects in this case as well. Because hey .. if they dont support hlsl shaders they probably wont care if the graphics are kickin' sorta speak.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!