[Closed] DX Shaders and include file display issue
Hey guys,
We’ve seen an issue where using an .fx file with an include .fxh header at the top, it gets some draw issues. we are using 3dsmax 2016 sp4 Nitrous 9.0.
Currently, the first time 3ds max is launched and a file with one of these shaders is in the scene, it draws white[ the error color] or black with “no parameters found”. If you are to reload the scene…so basically doing nothing…everything draws as expected upon the reload…
The only thing I can think that’s happening is the shader compiles before it finishes loading the .fxh file. The only solution I have now is to do a check when a scene opens, and if a DX shader in the scene only has 8 parameters [ the default ], prompt to reload the scene. This seems very hacky though.
Has anyone else experienced this, or have another suggestion?
Thanks