PDA

View Full Version : DirectX .FX Files



NecroDOME
14-03-2006, 05:01 PM
Hello,

Im trying to implement FX files into my engine. I have a question about them. Considering all examples I can find on .fx files, they need some data from the main program like the view matrix and textures. Now the problem is that I want to create .fx files with 2 or 3 textures or a .fx file that has no view matrix for example. How can I make my main program able to find the correct textures matrices or whatever is needed for the .fx file to work properly?

Thanxz in advance,
NecroDOME