Sign in to follow this  
DumpAlien

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this