View Full Version : Qt 5.5 - OpenGL - Tutorial 8 Basic shading adaption wont work

07-17-2015, 06:20 AM

i am trying to learn more about opengl with qt. I used the qt examples hellogl and textures to write a short programm that shows me a hex field map with camera movement.

I want to go to the next step and a a light source and do some shading with diffuse and specular. So i read the tutorials 3 and 8 from www.opengl-tutorial.org. Changed my code to their matrix naming (better than qt) and use their shaders.

The problem is that i only see a black screen. I dont see anything that i make wrong.

Thanks for your help