today I had the idea to write a list of things to check if there's nothing rendered on screen, for newbies.
I think this would tremendously help them, especially if there would be a piece of code that check each of these.
If you have any additions to this list, please comment it below.
-is there any opengl context?
-is any kind of swapbuffer called?
-is it called after everything has been rendered?
-what kind of frame buffer object are you rendering into?
-if you are using shaders, do you bind the correct one?
-are the shader uniforms bound?
-are shaders compiled and linked properly?
-is there any vertex buffer object, vertex array object bound?
-is there any index buffer object bound?
-if you are using textures, are the textures bound?
-are you using the depth state that you want to use?
-is blending enabled?
-are you using the blending function you wanted to use?
-is scissoring enabled?
-is backface culling enabled?
please contribute to this list