noobscratcher
10-15-2011, 07:55 AM
hello
Okay so im already able to do alot with opengl such as alpha blending on texels, texture mapping of different image formats(tga,png,bmp) with sdl data i know the lot :).
What i dont know is how to work with GLSL :(
can you tell me how and why i can't get this to work ?
char maxlength = 100;
void glGetShaderInfoLog(GLuint shader,GLsizei maxlength, GLsizei length,GLchar *infoLog);
fprintf(stderr,infoLog);
your gonna wonder what and why :D perhaps...
and if so read this!
i'll explain i need the output of infoLog in a stderr text file now i have never come across anything like this for example the infoLog while using OpenGL so i'm curious to the hows and whys of this
so please do enlighten me on this subject and give me any pointers,tips, and help to solving this
thanks in advance
if you have any good tutorials for GLSL please provide some too i need as much help as i can get for this shader language of sorts :D
im pretty sure my code up there is messed up lol so please do give me any tips nicely
Okay so im already able to do alot with opengl such as alpha blending on texels, texture mapping of different image formats(tga,png,bmp) with sdl data i know the lot :).
What i dont know is how to work with GLSL :(
can you tell me how and why i can't get this to work ?
char maxlength = 100;
void glGetShaderInfoLog(GLuint shader,GLsizei maxlength, GLsizei length,GLchar *infoLog);
fprintf(stderr,infoLog);
your gonna wonder what and why :D perhaps...
and if so read this!
i'll explain i need the output of infoLog in a stderr text file now i have never come across anything like this for example the infoLog while using OpenGL so i'm curious to the hows and whys of this
so please do enlighten me on this subject and give me any pointers,tips, and help to solving this
thanks in advance
if you have any good tutorials for GLSL please provide some too i need as much help as i can get for this shader language of sorts :D
im pretty sure my code up there is messed up lol so please do give me any tips nicely