You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed the issue by changing the effect to do all the lighting in the vertex shader.
While my specific issue is fixed, I still think the behaviour is wrong - I'd expect either the compile step to fail in the pipeline, or to fail to load, rather failing at the point of trying to use the shader.
I've been playing with a simple shader, and wanted to move the code to run on iOS:
The Effect file looks like this
And when run through the MonoGame Content Pipeline on Win10 (selecting build iOS) the xnb looks like this
The XNB loads fine, but on calling DrawIndexedPrimitive I get an exception stating the "Shader Compilation Failed"
Monogame 3.5.1.1679 on both OSes.
If there is anything extra you need me to add, please let me know.
The text was updated successfully, but these errors were encountered: