So I've been working on a tiny project with a friend, and we're at the point where we want to add a simple shader, but no matter what shader we try we get the same error, even an empty shader file produces this error.
The Error:
Failed to compile vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: error(#60) Unknown char: ""
ERROR: error(#273) 1 compilation errors. No code generated
*/
Code that produces the error
Shader SunShader
= new Shader
("Resources/Shaders/VertexShader.vert",
"Resources/Shaders/Light.frag"); The shader files aren't really relevant (as far as i know) as they return the same Error even if they're blank, a bunch of random text, or a premade test shader.
Can't find anything on google about it, using SFML.Net 2.2. And really really lost on what i can do. VB 2012 just tells me that it fails to load with this message:
http://u.rubixy.no/u/061641db.png Image of the error inncase the web thing forum thing eats the letters:
http://u.rubixy.no/u/0a6e7466.pngNot really helpful, I've set the shaders to include every time.