Hey there,

I noticed that using #include in a shader file works fine until you compile your application.
Once compiled the engine just crashes as soon as the shader gets compiled (i.e. when an object using the shader gets visible).

It's not a big deal since I'm going to join my shader files and compile them to .fxo-files when I'm done, but you might wanna look into this.


POTATO-MAN saves the day! - Random