Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
I think I speak for everyone when I say I would prefer not to download random files from a file-sharing website. Can you host the file on something like GitHub that lets us browse the code, or perhaps just post it here instead?
If it's failing to compile the vertex shader, then it's likely you have a compilation error in the shader code. You should look into outputting the error message that the compiler gives you back.
I think I speak for everyone when I say I would prefer not to download random files from a file-sharing website. Can you host the file on something like GitHub that lets us browse the code, or perhaps just post it here instead?
If it's failing to compile the vertex shader, then it's likely you have a compilation error in the shader code. You should look into outputting the error message that the compiler gives you back.
Living on the edge xD. I'm gonna check on the code now and edit this post.
Edit: OP you did not upload the shader file SolidGreenColor.fx in this zip…
I think I found the shader on the Internet and it compiles for me. You are not the only person with problems with this Book. I found a ton of posts from people about broken examples. Check the "with_shaderfile_and_render_func" branch on Github for the working source and binary (Debug Folder).
arkadysahakian said: Maybe I configured the project incorrectly?
Looks like it. The Shaderfile was nowhere in the project directory and it needs to be copied into the output folder of your binaries. In example Debug folder which you already included.