I am currently learning OpenGL programming, and I have made some good progress, but I seem to be stuck now.
Currently, I am trying to get simple shaders to work. To be m
Are you calling glUseProgram before setting the uniforms ? A full working listing can be found in many examples online, including what I had written sometime back (https://github.com/prabindh/sgxperf/blob/master/sgxperf_gles20_vg.cpp) that shows the sequence to be:
glCreateProgram();
glAttachShader()
glLinkProgram
glUseProgram()
glGetUniformLocation()
glUniformMatrix4fv