I pasted a line of shader code from SO and now my project refuses to work.
I removed the tainted line of code.
I\'ve re-written the shader m
It was an encoding problem. When I pasted the line of code it somehow made my compiler treat every text file as UNICODE instead of ASCII. This caused the problem.
The solution was opening the shader file in Visual Studio and go to
File->Save as->Save with Encoding and then choose the correct format and rebuild the solution.