Original Post
I have one query and one problem, hopefully you can answer both [smile] Firstly, glUseProgram(0) is not disabling shaders in my game. Any ideas on issues that could cause this/problems to look for? I have made sure that gluseprogram(0) is actually being called, and I can tell it is not disabled because I am rendering some fixed function geometry right after, which is inheriting the previously active program. (Never mind, I was re-enabling the last program by mistake) Secondly, in debugging this I decided to output all my program and shader handles, with this interesting result: Is it entirely normal that my driver is using the same namespace for programs as for shaders? [Edited by - swiftcoder on February 26, 2008 8:18:55 AM]
program: 1
shader: 2
shader: 3
program: 4
shader: 5
shader: 6