Hello there! I've been trying to compile a couple of shaders in my project, but I had the hardest time.
I had put the two files "vertexShader.vs" and "fragmentShader.fs" in the Resources folder, that's already built in the project.
I was trying to access those files calling
resourcePath()+"fragmentShader.fs"
But it was failing to open both files. When I use the absolute path to the file, it is indeed found. Since this is not the most elegant solution and in the tutorial I read that every file that I dragged&dropped into the folder would be copied there, how's it possible that those files are not found??