You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
If you want to use a shader, you have always to give a pixel and a vertexshaderfile to the engine. My question is:
Is it possible to use .fx files, although there is only one file than two?
I think you've got to use either hlsl or glsl shaders, depending one whether you're running with DX or OGL. So if you wanted to use fx you'd have to convert it.
JP wrote:I think you've got to use either hlsl or glsl shaders, depending one whether you're running with DX or OGL. So if you wanted to use fx you'd have to convert it.
How can I convert .fx files to vertex and pixelshaderfiles ?
Nope, fx files (can) contain more than just shader code, for example defining what texture to use, or that the texture used should be clamped. Its like hlsl + nifty shortcuts. sortof.
If you don't have anything nice to say, don't say anything at all.