Jump to content
  • Advertisement
Sign in to follow this  
DumpAlien

OpenGL Direct3D10: .fx files or not? A little help here plz! :)

This topic is 3631 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

Hello all! I am making a 3D Engine and I was implementing a generic renderer class with multiple API support(D3D10 + OpenGL3) using a base generic class and virtual functions. That is why I never think of using .fx files. I wanted a generic render loop for both APIs. After the OpenGL3 epic fail I can make my engine more.. "non-generic". Should I go now with .FX files? Do commercial games use .fx files? (this engine is for a simple commercial 3d game). What are the advantages of .fx files? can u name them? Any drawbacks? What u suggest? Thanks for your time!

Share this post


Link to post
Share on other sites
Advertisement
I would go for them. They give you everything you need and there is also nice interface for them provided by ID3DXEffect class. I don't know of any drawbacks (can be my limited knowledge). Also, AFAIK Mass Effect used them.

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!