Kreed
09-04-2012, 11:21 AM
My question is what would be the best way to debug and possibly see what the issue is? Is there a way to see exactly what the MVP looks like in the shader? Is there a way to verify what vertices actually make their way into the shader? I tried using glGetError() each frame, but I am not getting anything returned. Also, I am a Linux user, so some of the debugging options aren't available to me.
As for a bit of elaboration, I have an application that has a vector of "Quad" objects that store the MVP and vertices for each quad. I have verified that all of my vertices and the MVP contain the correct data, but when they are passed to the shader, all I get is a black screen.
This simple shader and the code for the "quad" objects were tested in a smaller application, and worked flawlessly. Now that I merged it into a larger project, I don't get any output.
Thanks for the help.
-Kreed
As for a bit of elaboration, I have an application that has a vector of "Quad" objects that store the MVP and vertices for each quad. I have verified that all of my vertices and the MVP contain the correct data, but when they are passed to the shader, all I get is a black screen.
This simple shader and the code for the "quad" objects were tested in a smaller application, and worked flawlessly. Now that I merged it into a larger project, I don't get any output.
Thanks for the help.
-Kreed