Edit: Wait a sec, it works without doing anything...? That's odd because I remember trying it before and it didn't....
I've been trying to figure out how I can simply include a shader file inside another shader file in Direct3D11. In XNA I could just do
#include "test.fx"and it worked. I know there's a parameter of a type ID3DInclude* that I can put in during D3DX11CompileFromFile but I am clueless on how this works. And there's almost no documentation on this. Why is it so complicated Does anybody know how to do this ? I'm not using the effect framework btw.
Edited by lipsryme, 01 February 2013 - 12:12 PM.