[SlimDX]How to use my fx file?

Started by
-1 comments, last by MattSun 12 years, 6 months ago
Hi ,

I'm just starting using SlimDX & I'm puzzled with the problem.
The fact is that I have FX files, I just want to get my shaders running. (BTW,I must use SlimDX.D3D9 in my project)
What I know is that I should add this into my project:

Effect iniEffect = Effect.FromFile(LocalDevice, @"effect\SimpleBloom.fx", ShaderFlags.None);


but after that, how can I run the shaders?

This topic is closed to new replies.

Advertisement