Re: [Opensg-users] shader error handling

2009-10-03 Thread daniel trindade
Thank you Carstern! I will test it. Daniel 2009/10/2 Carsten Neumann >Hello Daniel, > > daniel trindade wrote: > > How can i check if a shader program has been loaded and linked correctly? > > > > OpenSG prints messages on terminal when there are errors on the shader, > > but i was not

Re: [Opensg-users] shader error handling

2009-10-02 Thread Carsten Neumann
Hello Daniel, daniel trindade wrote: > How can i check if a shader program has been loaded and linked correctly? > > OpenSG prints messages on terminal when there are errors on the shader, > but i was not able to find how to handle these situations. For example, > want to do the followi

[Opensg-users] shader error handling

2009-10-01 Thread daniel trindade
Hi, How can i check if a shader program has been loaded and linked correctly? OpenSG prints messages on terminal when there are errors on the shader, but i was not able to find how to handle these situations. For example, want to do the following: if( !error_on_shader ) use shader else