hi!
i have a simple problem with turning off the shader.
lets have a function like this:
display()
{
//i want to draw a teapot for example using a shader
glUseProgramObjectARB(p);
glutSolidTeapot(0.5);
need to disable the shader
glutSolidTeapot(0.5);
// then i want to draw another teapot but with normal opengl pipeline so i want to disable the current shader program but i dont now if there is any function to do it like gldisable.... or how to do it.
can anybody tells me and helps, how to do it?
thanks in advance.