|
shader files using #include
#458811
03/31/16 11:34
03/31/16 11:34
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
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
|
|
|
Re: shader files using #include
[Re: jcl]
#458816
03/31/16 13:43
03/31/16 13:43
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
OP
Expert
|
OP
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
Sorry, should have explained it a bit more precisely.
The crash is caused by uncompiled shaders (.fx-files) in a published application.
I've put all the required files are in the published folder.
POTATO-MAN saves the day! - Random
|
|
|
|